Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
autochange image in website
Name: Johanovitch Date: October 18, 2001 at 14:44:14 Pacific
Comment:
I was wondering if this is possible: Let's say, I have a website, and in a subfolder, I place a bunch of images. I want to accomplish that I see only 1 image at a time, but that I see another image each week (or after a few days or even 1 day, whatever).
Name: Mik Date: October 19, 2001 at 00:51:51 Pacific
Reply:
You could do that in many different ways. You could make a CGI program which creates the page modifying the URL to the picture according to the date.
You could also add some simple javascript in your page which would load a picture. If the names of your pictures correspond to the date then it would be simple. You would just construct the url out of the date. Ex. picName = "picture" + dayofmonth + ".jpg"
If you wanna get big you could create a Java applet to retrieve a random picture.
Mik
0
Response Number 2
Name: Johanovitch Date: October 19, 2001 at 02:30:36 Pacific
Reply:
Thanks I looked for a javascript and found what I was looking for.
Johan
0
Response Number 3
Name: Unknown Date: October 21, 2001 at 01:41:31 Pacific
Reply:
Yes this can be done useing JavaScript. I am new to JavaScript but it is very posible. try www.webmonkey.com and look for a tutorial from Thau. He is good.
Summary: Does anyone know if you can change the size of a background image in HTML?. I want a background picture to be 100% height and width regardless of screen resolution etc. Thanks for any help that can be...
Summary: Hey all, I'm trying to do something very simple - open an image in python: >>> img = Image.open("C:\Documents and Settings\Dmitry\Desktop\test.bmp") but I get this error: Traceback (most recent call l...
Summary: Yes, that's what I was doing. Thanks for the help. But I have seen an exe that had images in it. They could have been microsoft clip art that I already had on my machine, but somehow I doubt it. I cou...