Your Time:
Our Time:
← Back to discussions

Ordering the photos in a gallery

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 4 replies, 3 voices, and was last updated 12 years, 3 months ago by sertacDiler.

  • 2013-12-24 at 4:27 pm
    Support Expired
    #1712
    Daniel Arnold
    Participant
    • Topics: 18
    • Replies: 45
    • Total posts: 63
    • Post count: 54

    Hi there,
    Is any posibility to order ascending or descending by filename, the photos within a gallery? The options present in <<musicsetings>>, <<Gallery Orderby>> it functions only for displaying the gallerys in an Gallery Page Template, it doesn’t extend for the images inside the gallerys. It will be very useful for a great amount of photos, if I want that the newest ones to appear first in an paginated gallery show.

    Of course it is the manually metod to change the filenames myself in order to appear like I want, and how the gallery takes his photos and show them ( only filename ascending ).

    Thank you very much!

    PS. And don’t forget, in future updates, my proposal, that it will be very useful to insert photos from a specific gallery, in pages & posts.

    Thank’s again!!!

    2013-12-24 at 6:21 pm
    #1715
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Gallery Photos i will implement that in the future updates. Regarding the Ordering for the page template it works fine. But if you want to order the images inside the specific gallery you can order after uploading the images by drag and drop the images into different locations. It will be in the coming version tomorrow possibly.

    2013-12-24 at 7:53 pm
    Support Expired
    #1718
    Daniel Arnold
    Participant
    • Topics: 18
    • Replies: 45
    • Total posts: 63
    • Post count: 54

    I understand, Thank you! My thought was that the images can be arrange, with a single option, ascending or descending by file name, because, if you remember, I have that problem with huge number of photos ( over 200 in a gallery ). You had helped me with that, when you implemented the pagination for gallery, outstanding and very useful feature!!!!
    So my only chance is to change manually the filename, in order that the gallery to take the photos in the descending way. The drag and drop for over 200 pics is out of the question 😀
    Thank’s again for everything!!

    2013-12-25 at 2:13 pm
    #1721
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    We will see if it can be implemented later in future. Your most welcome if you have any questions.

    Regards
    Maqk

    2014-05-11 at 9:17 pm
    Support Expired
    #4120
    sertacDiler
    Participant
    • Topics: 0
    • Replies: 1
    • Total posts: 1
    • Post count: 1

    MAQK if you still need to reverse photos order, you can add this code rsort($gallery_upload_img);
    to
    wp-content/themes/musicplay/musicband/gallery/single-gallery.php in 84 line

    $i = 0;
    $k = 0;
    rsort($gallery_upload_img);

    and 105 line

    if($gallery_list !=''){
    rsort($gallery_upload_img);

You must be logged in to reply to this topic.