I\'m looking for a way to rewrite all my image requests from one folder into some.php file, while preserving the original image url (or par
It sounds like you you want the filename of the image in the url to be included in the new php url, not the entire url. So something like:
RewriteRule ^folder/img/(.*[.]jpg)$ /folder/some.php?filename=$1