Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter buddyrich

    (@buddyrich)

    Digging deeper I found the select statement to the DB that populates the dropdown and edited it by removing the group by clause which caused everything to summarize to a single row. Of course now I can choose any image and the dropdone will get bigger as I add photos. I have to only select rows where the albumid is equal to the albumid being edited I think but I am not sure how to pass that to the where clause as I am not sure the albumid being edited is stored as a variable in the PHP in that script but I’ll have to take a closer look.

    Thread Starter buddyrich

    (@buddyrich)

    Digging deeper I found the select statement to the DB that populates the dropdown and edited it by removing the group by clause which caused everything to summarize to a single row. Of course now I can choose any image and the dropdone will get bigger as I add photos. I have to only select rows where the albumid is equal to the albumid being edited I think but I am not sure how to pass that to the where clause as I am not sure the albumid being edited is stored as a variable in the PHP in that script but I’ll have to take a closer look.

    My permalinks for galleries If I just create a page and use a shortcode for them but I do get the nggallery/page-x if I use the album view and navigate to it from there. My guess is the album templates or something.

    Thread Starter buddyrich

    (@buddyrich)

    Forget the Album ID issue. Its fine.

    However the Album Preview Image select is broken.

    I only ever get to choose one of two, 0- no image, or 1-first image uploaded name.

    The same code seems to work when I select a gallery preview image, I get a list of all possible images in my gallery.

    Also forgot to mention:

    WordPress 2.9.1
    NextGen 1.4.3
    IIS 7.5
    PHP 2.3.1
    MySQL 5.1.50 x64 for Windows

Viewing 4 replies - 1 through 4 (of 4 total)