FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

CSS for making images go through a php code.

 


Dougie1
Well I really want this for myspace so I need a compatible code. I can't just edit ever image. Well I can easily make a php code which will do something cool to all my images but how would I make the images go through my code.

The php code simply needs the url of the image so it does the following.

Code:
www.sillyimage.com

Code:
www.mysite.com?image=www.sillyimage.com


I don't know if this is possible but thanks to anyone who can give me help.
Roald
Well I don't know what your accually mean, but PHP can edit or create images.
ncwdavid
I tired reading over your explanation a few times but I still don't get it. Please try and explain it better.
Dougie1
OK. My php code can edit an image and out put it so that the edited image url will look like this:

Code:
www.mysite.com/phpimagetransformer.php?image=www.UrlOfImage


So the original image will have been www.UrlOfImage.

Is there any way to get it so that every image on a page instead of being like this:

www.UrlOfImage

be like this:

www.mysite.com/phpimagetransformer.php?image=www.UrlOfImage

I don't know if it is possible with just css but that is all I can use because the code will be for my myspace.
qscomputing
CSS has nothing to do with this, not sure where you get the idea from...

CSS controls the style of the page; HTML controls its actual content.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.