News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Replacing an Image

Started by SolidSnake2003, May 27, 2014, 03:50:31 AM

Previous topic - Next topic

SolidSnake2003

Is it possible with PHP or Javascript to have one image if loaded to change to a different image?

kat

You want an image to change to a different one... when?

SolidSnake2003


SolidSnake2003

Is it possible to do what I want?

kat

I'm afraid I must be a bit dense, coz I'm not getting what you want, with this.

An image loads. But, when it's loaded, you want a different image.

Sorry an' all that... But, that just doesn't make sense, to me. :(

SolidSnake2003

This is gonna be a modification for coppermine photo gallery

Im basically wanting if one image url is there, replace it with another one

sorry if Im not being specific enough

kat

If this image is posted, say...

http://www.katzy.dsl.pipex.com/Smileys/c002.gif

you want it to be automatically replaced, say, with this one

http://www.katzy.dsl.pipex.com/Smileys/cowsleep.gif

Am I right? If so, could the Word Censor feature do that?

SolidSnake2003

Is the word censor a plugin for coppermine, or SMF?  Im wanting this for coppermine


SolidSnake2003

so its not possible to use a replace string code?

kat

I'm afraid that I'm not familiar with coppermine. Maybe it'd be best to ask the coppermine support people?

SolidSnake2003

Alrighty marking as solved, can't do it the way I want to do it.

Advertisement: