To all images that are inside directory "screenshots" I want to add a piece of code before "screenshots".
This:
Code: Select all
<img src="/screenshots/screenshot.jpg">Code: Select all
<img src="http://www.website.com/screenshots/screenshot.jpg">They have specified the full path to everything except for the images they have in the screenshots folder so I get to display everything correctly on my website except for one image per page which is an important one that is in the screenshots folder.
I do not have access to edit the files and add the full path myself so I need to manipulate them considering I am displaying them with a PHP include.