I faced a similar issue recently - but the problem was there were multiple paths to the image, so the next / previous could relate to multiple "collections" i.e. featured, top, user, collection etc... How do you envisage this working?
Aye that's one of the considerations in it; I'll likely be storing the last viewed collection of photographs in the session, or redis, and using that to figure out which photo is up next!
I faced a similar issue recently - but the problem was there were multiple paths to the image, so the next / previous could relate to multiple "collections" i.e. featured, top, user, collection etc... How do you envisage this working?