Jump to content

Rewrite Image location


Lexsym

Recommended Posts

Hi, I've recently moved all of the iamges stored on my website from "./" to "./images/"

 

All of these images are embed across different forums, is there a rewrite that could be done so that the forum tags will get redirected to "./images/"?

 

If I'm explaining it bad, this is what I mean:

Forum post: [img=/1234abcd.png]
Another forum post: [img=/4bc123.bmp]
The other forum post: [img=/qwerty.jpg]

 

And I want it so that when the "" tag is trying to view that file, it will actually be viewing the files:

/images/1234abcd.png
/images/4bc123.bmp
/images/qwerty.jpg

 

while keeping this original post intact.

 

Link to comment
https://forums.phpfreaks.com/topic/231743-rewrite-image-location/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.