• 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 images in my gallery.

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

Viewing 2 replies - 1 through 2 (of 2 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Selecting Album Preview Images’ is closed to new replies.