Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

dynamic thumbnailing

Hardware/software/hints and tips/discussion/webcam links etc
Post Reply
User avatar
kingqueen
Posts: 60
Joined: Tue 26 Feb 2013 6:52 pm
Weather Station: Maplin N96GY / Fine Offset 1081
Operating System: Windows 7 HP 64 bit
Location: Wetherby, UK
Contact:

dynamic thumbnailing

Post by kingqueen »

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
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: dynamic thumbnailing

Post by beteljuice »

It can be done (thumbnails) with php, but a little clunky because in this case the thumnails need to be created through the page call in order to ensure they are the same as the current 'stack'.

... also because you don't really know how to code your presentantion / links (yet ;) ) - you would probably be better off with one of the many (free) gallery / slider 'presenters'.

Here's one at random, I have no experience of it, but it seems promising ..

http://wowslider.com/
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
kingqueen
Posts: 60
Joined: Tue 26 Feb 2013 6:52 pm
Weather Station: Maplin N96GY / Fine Offset 1081
Operating System: Windows 7 HP 64 bit
Location: Wetherby, UK
Contact:

Re: dynamic thumbnailing

Post by kingqueen »

Thanks very much - I'll give that one a try.

Plus you're a bit of a legend on here from all I've been reading - thanks to all the stuff you've been doing, much of which has appeared in my weather website!

d
Image
Post Reply