Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Photo Seller – Image Order in Gallery

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – Image Order in Gallery

Tagged: sort order, tweak

  • This topic has 9 replies, 4 voices, and was last updated 8 years, 4 months ago by Mrs Zupy.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 11, 2016 at 4:13 am #12563
    kjhatzi
    Member

    Hello, I just created my first gallery with more than ten images. The order is set to name ascending, but the images are appearing like this:

    Image 1 / Image 10 / Image 11 / Image 12 / Image 13 / Image 14 / Image 15 / Image 2 / Image 3 . . . . Image 9.

    You can see that here –> [http://karenswhimsy.com/wp-dev/photogallery/gallery25/]

    Any suggestions on how to fix the order so it’s Image 1 , Image 2 , Image 3 …. etc.

    Thank you,

    Karen

    January 11, 2016 at 4:26 am #72274
    okmacman
    Member

    Karen,

    It is sorting alphabetically,, not numerically. If your images are actually named Image 1, Image 2, etc. then you will need to use leading 0’s to keep the name the same length. Image 01, Image 02, etc.

    Hope this helps.

    January 11, 2016 at 4:56 am #72275
    Peter
    Member

    There is a tweak I can do to sort by “natural” order which will sort strings containing numbers in an order a human would expect them to be.

    I will make this tweak sometime this week and let you know.

    January 11, 2016 at 5:06 am #72276
    kjhatzi
    Member

    Thank you both for the speedy assistance!!

    January 30, 2016 at 1:38 am #72277
    kjhatzi
    Member

    Hello Peter,

    I was wondering if you’d had a chance to create that “tweak” to give the images in a gallery a natural order.

    Thanks!

    Karen

    January 30, 2016 at 11:20 am #72278
    Peter
    Member

    I will try and implement this during this coming week. Give me nudge if you don’t hear from me in a few days.

    February 3, 2016 at 5:12 am #72279
    Peter
    Member

    kjhatzi,

    I sent you an updated copy with the changes. Please try it and let me know how it goes.

    December 24, 2016 at 6:34 am #72280
    Mrs Zupy
    Member

    Hi, can anyone tell me if this ‘tweak’ was rolled out to everyone? As Ligthroom will not export the files with ’01’ as a suffix. It does not accept leading zeros. So this tweak would be fantastic!!

    December 26, 2016 at 1:48 am #72281
    Peter
    Member

    Hi @Mrs Zupy,

    I have sent you an email.

    December 26, 2016 at 10:49 pm #72282
    Mrs Zupy
    Member

    Thanks Peter, unfortunately it hasn’t arrived. Could you please resend it? My address is [linda@zupy.net] Thanks heaps!

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ