Author |
Message |
PEPSIMAAAAAAAAAAAAAAAAAN! Cherry Vampire
Joined: 30 Apr 2007 Posts: 22614
HP: 65 MP: 6 Lives: 0
|
Posted: Fri Jun 22, 2007 4:53 pm
|
|
|
Does anyone here know how to make an image that alternates everytime you load the page? I know it's possible with Flash, but Digibutter.nerr isn't compatible with that.
Basically, I want to know what code to put into a .php that looks like a .png, and where to put the images it rotates through.
Last edited by Cherry on Fri Jun 22, 2007 5:11 pm; edited 1 time in total |
|
Back to top |
|
|
ROW ROW FIGHT THE POWA Francine
Joined: 30 May 2007 Posts: 8580
HP: 78 MP: 4 Lives: 0
|
Posted: Fri Jun 22, 2007 4:57 pm
|
|
|
Example? |
|
Back to top |
|
|
PEPSIMAAAAAAAAAAAAAAAAAN! Cherry Vampire
Joined: 30 Apr 2007 Posts: 22614
HP: 65 MP: 6 Lives: 0
|
Posted: Fri Jun 22, 2007 4:59 pm
|
|
|
I don't have an example, but the question is pretty self-explanatory. I know it has something to do with code in a file, and then putting images in a subfolder, but that's all I remember. |
|
Back to top |
|
|
Burn them out rawrskey Benned Vampire
Joined: 03 Jun 2007 Posts: 14262
HP: 70 MP: 5 Lives: 5
|
Posted: Fri Jun 22, 2007 5:02 pm
|
|
|
Javascript or PHP.
Basically there's no way to do it unless you're given certain rights. |
|
Back to top |
|
|
Elite Nerr Francis
Joined: 16 Apr 2007 Posts: 6974
HP: 50 MP: 3 Lives: 0
|
Posted: Fri Jun 22, 2007 5:04 pm
|
|
|
You could probalby do that with javascript somehow, but you can't use javascript in your posts here. |
|
Back to top |
|
|
PEPSIMAAAAAAAAAAAAAAAAAN! Cherry Vampire
Joined: 30 Apr 2007 Posts: 22614
HP: 65 MP: 6 Lives: 0
|
Posted: Fri Jun 22, 2007 5:06 pm
|
|
|
Francis wrote: | You could probalby do that with javascript somehow, but you can't use javascript in your posts here. |
That's actually not how it works. There's a special way I used a few years ago, that I have now forgotten, that let's you make a text file a .png, and that file can be entered like a normal .png. |
|
Back to top |
|
|
Elite Nerr Francis
Joined: 16 Apr 2007 Posts: 6974
HP: 50 MP: 3 Lives: 0
|
Posted: Fri Jun 22, 2007 5:07 pm
|
|
|
ah yeah, your image could really be a link to a php script that outputs a different image everytime. |
|
Back to top |
|
|
PEPSIMAAAAAAAAAAAAAAAAAN! Cherry Vampire
Joined: 30 Apr 2007 Posts: 22614
HP: 65 MP: 6 Lives: 0
|
Posted: Fri Jun 22, 2007 5:08 pm
|
|
|
Francis wrote: | ah yeah, your image could really be a link to a php script that outputs a different image everytime. |
Yes, that's it. Maybe I should rephrase my question above. |
|
Back to top |
|
|
|