Forums

[Plugin: NextGEN Gallery] "edit album" button removes "preview image" (5 posts)

  1. tnjb
    Member
    Posted 5 months ago #

    Hi,

    I have just gone through and given my album an image. After doing that, I decided to rename all my albums (I know I should have done it the same time as chosing the image).

    Anyway.... When I click "Edit Album" the edit album box appears but rather than my image id / file name appear, it just says "No Picture".

    Is this a bug you are aware of? I will hold off in renaming my images in the hope that there is a fix around the corner. ;)

    Thanks for the great plugin!!!

    Terry.

  2. wfbnadador
    Member
    Posted 1 month ago #

    I second this one. Quite awful when you have to reselect an album image for each album name edit.

  3. wfbnadador
    Member
    Posted 1 month ago #

    but of course, love the plugin :)

  4. wfbnadador
    Member
    Posted 1 month ago #

    until alex can fix it (I'm sure he's busy), you can simply jump into the plugin folder under:

    admin:album.php

    and replace the code at line 374 with the following code:

    if($picture->pid == $album->previewpic){
    	echo '<option value="' . $picture->pid . '" selected="selected">'. $picture->pid . ' - ' . $picture->filename.'</option>'."\n";
    }else{
    	echo '<option value="' . $picture->pid . '" >'. $picture->pid . ' - ' . $picture->filename.'</option>'."\n";
    }
  5. alexrabe
    Member
    Posted 4 weeks ago #

    I will check it

Reply

You must log in to post.

About this Topic