View Full Version : "Next Image" not showing up
January 9th, 2006, 05:59 PM
On some of my galleries, if a user clicks on the first photo in the gallery a new page loads with a large image. In the upper right they should have the option to click "next image" but instead it just says "previous image"
This only seems to happen when the user clicks on the first photo in a gallery, in other words if they click on a thumbnail photo in the middle they will have the options to view "previous and next images"
Any ideas what is going on?
Here is a sample gallery that is having this problem...
Click on the first photo in the upper left to see what I mean.
January 9th, 2006, 07:19 PM
That's because it's the newest pic in the category.
The terms Next and Previous are sometimes confusing in context to the sequence of photos.
What I ended up doing was removing the words, leaving just the directional arrows.
January 9th, 2006, 07:54 PM
How do you get the directional arrows to show up? I don't see any.
January 9th, 2006, 08:00 PM
If there is a next image next shows up if not it does not. Same thing goes for prev image.
Maybe mjm will share how he modified his files for you.
January 9th, 2006, 08:39 PM
I think I figured the problem out. The photos in thumbnail view are being sorted by filename by default as opposed to by posted date. Is there a way to change it so that it defaults to sorting the gallery by posted date?
January 9th, 2006, 08:47 PM
To be honest all we did was make it ...
<<< Photos - Slideshow - Photos >>>
and omitted Next/Previous text.
Works for us.
Re: Is there a way to change it so that it defaults to sorting the gallery by posted date?
That IS the default for us.
What is the sort order set at in admin > edit category?
January 10th, 2006, 12:07 AM
I don't have the option to sort by "posted date" in admin>edit category
January 10th, 2006, 01:30 AM
Hi, are these in your dropdown menu?
Edit Category > Default Sort Order
If you have a parent category with subs that you want with the same sort order, you can apply the sort order to the parent category and at the bottom of the page ...
- Check box to apply these settings and permissions to all children
January 10th, 2006, 02:50 AM
I do have those choices, but none of them let me sort by "posted date" Right now it defaults for "Latest" but that isn't the same as sorting by "posted date"
January 10th, 2006, 08:20 AM
You do not have that drop down box in edit categories in admin? that is where you set a default sort for a category.
Latest would be the sort you want to select for sort by date
January 10th, 2006, 10:13 AM
I DO have those categories, which one would I use to sort by "posted date"?
January 10th, 2006, 10:49 AM
That would be latest my friend ;)
January 10th, 2006, 11:01 AM
"latest" seems to be the default, but it is sorting them in descending order instead of ascending. So when the user clicks on the first photo there is no "next" button to click on to go to the next photo.
See what I mean by going here
Click on the first photo that comes up, when you do, in the upper right corner your only option is to click "previous image"
January 10th, 2006, 11:18 AM
You may change the sort if you desire but correct latest means sort by date DESC so there should be a previous link not a next link.
If you want and you know how to use phpmyadmin here is a sort you can add to the photopost sort table to show oldest to newest
INSERT INTO pp_sort VALUES (9,'Oldest', 'ORDER BY disporder,date ASC')
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.