diff --git a/services/images/view.php b/services/images/view.php index bc7da5343..f5b0cb252 100644 --- a/services/images/view.php +++ b/services/images/view.php @@ -84,6 +84,7 @@ /* Check if no editing action required and send the image to browser. */ if (empty($action)) { + header('Content-Disposition: attachment'); $image->display(); exit; } @@ -132,4 +133,5 @@ /* Write out any changes to the temporary file. */ file_put_contents($file_name, $image->raw()); +header('Content-Disposition: attachment'); $image->display();