PHP GD2: image linked to another image
iosoft
Joined: 2007-04-17
Posts: 17 |
Posted: Wed, 2007-06-20 04:20 |
Friends, I need help on this CODE. Problem: There will be 2 image files (one real, one virtual-php) and general HTML file. http://imagehost.com/abc.jpg (real image file) in the HTML - <img src="http://mydomain.com/abc.jpg"> Now I want, whenever it gets the mydomain.com/abc.jpg file, it will redirect itself to http://imagehost.com/abc.jpg using the internal PHP code of abc.jpg In short, mydomain.com/abc.jpg will work as a short-cut to imagehost.com/abc.jpg How to do that using GD2 library functions ?? NOTE: I have tried mod_rewrite, but then the list is getting longer and longer, impossible to handle |
|
Posts: 32509
and how is this related to gallery 2?
moving the topic to the general chit chat forum.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage