Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorpedron
    • CommentTimeOct 7th 2005
     
    I have an issue in which I need to place my photo's in some sort of chrnological order based on events.

    The photo's I get may come in from different sources at different times. But I would like to control which Photo goes in which position within the Album.

    Is there a way that I could reposition a photo that's already in the album? (Sort of like a "Move Before/Move After" Interface)
    •  
      CommentAuthormike
    • CommentTimeOct 7th 2005
     
    Currently there is no way to manually control the order of your pictures from within the admin.

    However, if you are sorting based on chronological order why not take advantage of the default sort order option? You can have your images sorted by date submitted or date taken. Maybe this would work?
    • CommentAuthorjack
    • CommentTimeOct 7th 2005
     
    Or adding a number before the name? Like 001grasshopper.jpg, 002balloon.jpg, etc.?
    • CommentAuthorpedron
    • CommentTimeOct 7th 2005
     
    Thanks for the quick reply guy's.

    How do I rename files for those pictures that I already uploaded? Aren't the Path of the photo's recorded to the database once they are uploaded and it is this that is used to load the photo?

    This is my dilemma today. I have files that I have been loading using the filename that was sent to me from various people. There are all sort of filenaming conventions that were used.

    Will I have to rebuild the Gallery from scratch? (Hoping to avoid this.)
    • CommentAuthorpedron
    • CommentTimeOct 11th 2005
     
    Any thoughts to my last question?...
    • CommentAuthorniceday
    • CommentTimeOct 11th 2005 edited
     
    Pedron, why don't you change the default sorting of the image by caption? You can change the caption easier that changing the file name. I think at the moment there is no feature to changing the file name in Plogger admin. If users see an album they can change the sorting by Date Taken, Date Submitted, Caption, File Name, and Number of Comment. By default the sorting is done by Date Submitted. You can change the default to Caption if you want.

    Open your gallery.php file and on line 136-153 (if your plogger version is the same as mine):

    switch ($_SESSION["plogger_sortby"]) {
    case 'number_of_comments':
    $sql .= " ORDER BY `num_comments`";
    break;
    case 'caption':
    $sql .= " ORDER BY `caption` ";
    break;
    case 'date_taken':
    $sql .= " ORDER BY `EXIF_date_taken` ";
    break;
    case 'filename':
    $sql .= " ORDER BY `path` ";
    break;
    case 'date':
    default:
    $sql .= " ORDER BY `date_submitted` ";
    break;
    }

    Change it to the following:

    switch ($_SESSION["plogger_sortby"]) {
    case 'number_of_comments':
    $sql .= " ORDER BY `num_comments`";
    break;
    case 'date_taken':
    $sql .= " ORDER BY `EXIF_date_taken` ";
    break;
    case 'filename':
    $sql .= " ORDER BY `path` ";
    break;
    case 'date':
    $sql .= " ORDER BY `date_submitted` ";
    break;
    case 'caption':
    default:
    $sql .= " ORDER BY `caption` ";
    break;
    }

    Hope this helps.
    • CommentAuthorpedron
    • CommentTimeOct 12th 2005
     
    Hey NiceDay:

    Thanks for the idea. I think that'll work. I'll have a Numbering scheme in the Photo Caption (With leading 0's of course) and that'll do the Trick.

    It would be a nice feature if we could have plogger expose a reorder interface though.

    Thanks again.
  1.  
    Specifying order (independent of name, caption, or description) is a great feature.
    • CommentAuthorjack
    • CommentTimeOct 18th 2005
     
    OtherMichael: Specifying order (independent of name, caption, or description) is a great feature....

    I agree, but somehow I hope this feature will never make it into an actual future version of Plogger. I would be busy all the time rearranging the order, and therefore spending less time making new photographs :). For now I'm satisfied with the options Plogger has at this moment.
  2.  
    heh! I hear you, Jack!

    however, specifying order is an absolute necessity for me. If it can't be done, it's back to hand-coding.

    Ever been to an art gallery where the exhibit was hung by date or alphabetical order?
  3.  
    any news on this issue? reordering photos seems like a feature that anyone would want. i know some of my clients definitely want it, and trying to explain to them that they have to use captions with leading zeros isn't easy.
    •  
      CommentAuthormike
    • CommentTimeJul 16th 2007
     
    The new version of Plogger lets you choose the sort order for albums, collections, and pictures independently. Check out the options tab. Remember that If the user has changed the sort order from the gallery front end, it will override your defaults.
    •  
      CommentAuthormike
    • CommentTimeJul 16th 2007
     
    I guess you are probably talking about choosing the order absolutely though eh... well, no way to do that yet. Just alphabetically and chronologically.