First, wasn't sure where to put this so I stuck it here because of the PHP files involved.
Any way, what would need to be written into my sites .htaccess file to "ping" a php file when an image is called ?
So if I type mysite.com/image.jpg into my browser, a file at mysite.com/image.php is ran.
Basically when image.jpg is called image.php should be ran to update the displayed images contents.
Edit: The below bit half works, it gets the images updated by hitting the associated php files but when I try to call the images they don't show but if I removed the below from my .htaccess the images work fine, what gives ?
RewriteEngine on
RewriteRule Nintendo3DS4free.jpg$ Nintendo3DS4free.php [L]