dynamic thumbnailing
Posted: Mon 25 Mar 2013 8:00 pm
Hi
My Yawcam sends images to my website at http://www.wetherbyweather.org.uk/webcam.htm. It does so every 9.5 mins (closer to 10 when actually done.) webcam00000.jpg is always the most recent one, but it keeps up to webcam00150.jpg. When a new image is uploaded, it replaces webcam00000.jpg which becomes webcam00001.jpg and so on down the line, webcam00150 being replaced and deleted. That way, there is something in the order of 24 hours of files up on the site.
I want to have the ability to view images from the last 24 hours. My current "solution" is to have the twelve items webcam00012, webcam00024 ... webcam00144 shown, i.e. about one image every 2 hours. They're shrunk by the HTML code (i.e. whole image loaded by the browser, but rescaled by the HTML) and put in a table. Each one is hotlinked to webcam000XX.jpg.
This isn't very good. Firstly it's not good that the full-size images are loaded; 13 for the page (including the "current" one.) Secondly it's not good that each image when clicked on takes the browser to the bare image without any page navigation etc. Thirdly it's only possible to select 12 of the 150 images, there might be nice ones inbetween.
I'm looking for a software solution to this. I've been googling. Existing thumbnail scripts seem to create a thumbnail for (say) webcam00012.jpg and keep it - but this isn't good because webcam00012.jpg will change in 9.5 to 10 minutes. Also regrettably I am not capable of programming my own or doing anything other than tinkering with existing scripts.
Any thoughts and recommendations would be very gratefully received!
cheers and all the best to everybody
My Yawcam sends images to my website at http://www.wetherbyweather.org.uk/webcam.htm. It does so every 9.5 mins (closer to 10 when actually done.) webcam00000.jpg is always the most recent one, but it keeps up to webcam00150.jpg. When a new image is uploaded, it replaces webcam00000.jpg which becomes webcam00001.jpg and so on down the line, webcam00150 being replaced and deleted. That way, there is something in the order of 24 hours of files up on the site.
I want to have the ability to view images from the last 24 hours. My current "solution" is to have the twelve items webcam00012, webcam00024 ... webcam00144 shown, i.e. about one image every 2 hours. They're shrunk by the HTML code (i.e. whole image loaded by the browser, but rescaled by the HTML) and put in a table. Each one is hotlinked to webcam000XX.jpg.
This isn't very good. Firstly it's not good that the full-size images are loaded; 13 for the page (including the "current" one.) Secondly it's not good that each image when clicked on takes the browser to the bare image without any page navigation etc. Thirdly it's only possible to select 12 of the 150 images, there might be nice ones inbetween.
I'm looking for a software solution to this. I've been googling. Existing thumbnail scripts seem to create a thumbnail for (say) webcam00012.jpg and keep it - but this isn't good because webcam00012.jpg will change in 9.5 to 10 minutes. Also regrettably I am not capable of programming my own or doing anything other than tinkering with existing scripts.
Any thoughts and recommendations would be very gratefully received!
cheers and all the best to everybody