Member
Member
hughstimson   18-11-2010, 01:40
#1

viewer_size_image is a terrific plugin, but I suspect that some users will be confused when they select a new image size and nothing happens.

Does anyone know how to get the page to reload when a new image size is selected?

That would make it much clearer to the user what the function actually does, and that it isn't broken.

Member
Member
sbillard   18-11-2010, 22:15
#2

???

There is no page reload from required for this plugin, at least in the current version.

What version of Zenphoto are you using?

Member
Member
hughstimson   19-11-2010, 20:46
#3

Hi sbillard, thanks for your response. I'm using version 1.3.1.2 [5831] (Official Build)

Am I interpreting you correctly that the expected behaviour is for the photo to reload, at the new size, immediately after the user selects the new size using the radio button?

I've got a test site up at

http://hughstimson.org/photos

if you'd like to have a look. I've tested it in IE9, Chrome8, FF3.6 and Safari5 and in all cases the page has to be manually reloaded before the image size changes.

Maybe I've configured something wrong on the back end?

Member
Member
sbillard   19-11-2010, 21:57
#4

You have interpreted correctly. The image uri is changed via JavaScript and the browser should be automatically re-displaying the image.

Your theme is missing the tags around the image, so the JavaScript cannot make that change.

NOTE: it is always a good idea to try to see if you can reproduce problems on standard distributed themes. That way you can quickly discern between Zenphoto issues and custom theme issues.

Member
Member
hughstimson   19-11-2010, 23:46
#5

Thanks much sbillard, that resolves my issue nicely.

And that sounds like good general advice too.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.