<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteRule ^(.*)\.(jpg|png) bootstrap.php/$1 [L]
</IfModule>