Image Display Size?
redcrown@mchsi.com
Registered Users Posts: 74 Big grins
On my smugmug site, I let the user select display size. The default starts out medium. That's OK. I set "your preferred size" to large. Then, if I "link" navigate back to the gallery page, subsequent image displays remain large. OK.
But, if I use the browser's back arrow function and pass thru the previous medium image page to the gallery index, subsequent image page displays are medium again, even though the "preferred size" selection shows large.
Seems like most users will "back arrow", thus losing their preferred size setting. Is this how it's supposed to work, a bug, or do I have something set wrong in my configs.
But, if I use the browser's back arrow function and pass thru the previous medium image page to the gallery index, subsequent image page displays are medium again, even though the "preferred size" selection shows large.
Seems like most users will "back arrow", thus losing their preferred size setting. Is this how it's supposed to work, a bug, or do I have something set wrong in my configs.
0
Comments
Back arrow will present the page from the browser's cache - it's not refreshing so it's not getting the Large.
welcome to Dgrin!
Portfolio • Workshops • Facebook • Twitter
so if the user has their viewing size set to medium all the links on the index page will be coded as medium. When they go to your full image view, you force it to large, but when they go back to the index via back button they get medium links again.
make sense?
Yes, it makes sense that the cache is causing the issue of losing preferred size settings. But I still don't see the difference between arriving at an index via back arrow and arriving at via direct link from a navbar. The URL's look the same, seems both would be coming from the cache. But clearly the two methods produce different results.
Regardless, I don't want it to happen (Losing perferred size settings via back arrow, that is), so is there a way to fix?
Google finds various examples of code to force a page to reload from server instead of cache, but before I do trail and error I'd appreciate any advice.
I'm not real happy with the "expire page, force reload" solutions because they will cause increase in bandwidth usage.