Could this code (which forces e.g. a .jpg to get downloaded instead of parsed by the browser and opened) made into a function somehow, so that you can assign it to a specific .jpg?
header("Content-Disposition: attachment; filename=".basename($outputFile).";"
I have no idea if this would even make sense to put it in the functions.php.