ZenphotoCMS Forum
Photo size equal to screen resolution - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Photo size equal to screen resolution (/thread-1844.html)



Photo size equal to screen resolution - kristjs - 2007-11-28

Hi!

I'm building a wallpaper website and thought it would be nice to give the user a file with his/her screen resolution.

Right now i'm using getCustomImageURL to feed users with predefined filesizes. The code looks like:




Photo size equal to screen resolution - eddiejanzer - 2007-11-29

http://javascript.internet.com/page-details/dynamic-sized-image.html

I use the code from the link above to create a popup that resizes according to screen height. there is an example on the page...




Photo size equal to screen resolution - kristjs - 2007-11-29

up.
eddiejanzer's example uses pure JS. I'd like to use the getCustomImageURL function. Only that the image dimensions would come from javascript code. Can this be done. Also haven't find a solution for the IE bmp bug...

Sven