- This topic has 9 replies, 4 voices, and was last updated 7 years, 11 months ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – Image Order in Gallery
Tagged: sort order, tweak
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
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.
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.
Thank you both for the speedy assistance!!
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
I will try and implement this during this coming week. Give me nudge if you don’t hear from me in a few days.
kjhatzi,
I sent you an updated copy with the changes. Please try it and let me know how it goes.
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!!
Hi @Mrs Zupy,
I have sent you an email.
Thanks Peter, unfortunately it hasn’t arrived. Could you please resend it? My address is [linda@zupy.net] Thanks heaps!