Update ImagePreview.php