WXforum.net

Weather Software => Other Weather Software => Topic started by: talbert1952 on December 12, 2006, 12:59:11 PM

Title: Wxtoimg
Post by: talbert1952 on December 12, 2006, 12:59:11 PM
I would like to put a thumbnail of the last received satellite image on my home page. Does anyone know of a way to generate a fixed name thumbnail of the last received satellite image without upsetting the standard file generation? I can do it externally to wxtoimg but I really don't want to go that route if I don't have to.
Title: Re: Wxtoimg
Post by: saratogaWX on December 13, 2006, 01:21:12 PM
Tom, you didn't say how you wanted the image to be resized, or if it's from your website or another.  If you have PHP available, you could try using my resize-NOAA-IOD.php script (resizes the NOAA Image of the Day) and modify it to your needs..
http://saratoga-weather.org/scripts-images.php#NOAAIOD

It also does image cacheing :-)

Best regards,
Ken
Title: Re: Wxtoimg
Post by: talbert1952 on December 13, 2006, 07:25:47 PM
Wxtoimg already builds the images I need. I just can't figure out how to natively generate a set of images with fixed names for the home page and still generate the satellite/date stamped images needed to build the main satellite page. It probably isn't possible but I thought I would ask before I started programming.
Title: Re: Wxtoimg
Post by: talbert1952 on December 21, 2006, 09:31:51 AM
There doesn't appear to be a built-in way in wxtoimg to do this so I wrote a program that makes copies of the originals and renames the copies to the fixed name versions needed for my home page.