Page 1 of 1
Posted: 2006-11-01T17:30:39-07:00
by anthony
The question may be more like, how do you get HTML pages to update their appearence. that however is web problem not an IM problem.
However to answer the question properly we will need to know how you are using perlmagick to generate the status. Is it creating images on the fly? if so what type of images, how are things represented. Is it using draws? Or overlaying external images?
The answer is usally obvious once you know what the program is doing.
Posted: 2006-11-02T13:39:29-07:00
by glennrp
magick_man wrote:
... I actually haven't started using perlmagick yet; I'm trying to figure it if it can do what I need before I use it. I already have the images I want to use. All I want the script to do is to load the green image after parsing my logs if everything looks ok. If not, I want the script to load a yellow or red image (warning or error) and throw the images into a loop where they keep appearing/disappearing until the issue is fixed on the admin side (so it looks like the images are blinking.)...
You don't need to "throw the images in a loop". Just use 2-frame animated images for the red and yellow, and a static image for the green. GIF format should work.
Posted: 2006-11-02T17:10:09-07:00
by anthony
As you already have (or once you have them) the images you need, you do not need IM for your application. All you need is to generate the appropriate HTML selecting the right image for the status in the propriate place.
Have a look at PHP (basics). It is designed to let you just wrire normal HTML, and then imbed a little PHP code which can make the decision about which image to include in the output.
As I said before, your problem sound more like web programming than image processing.