Fix djsjs.php function copyImage to skip processing if the image isn't present.