I need to provide website visitors with a link to download the original high-resolution image. If I just snap to the image using href = "image.jpg", the browser will display the image. How to make the browser load it?
I use amazon S3 to work with these images ... If this requires a special caption on the image, I am sure it is possible ... but I also want to display these images. Any advice on making this work with S3 would be great.
You're right. Some headings are needed for this. This will:
Content-type: image/png Content-Disposition: attachment; filename="some_image.png"
, S3 , , Content-Disposition .
Content-Disposition
EDIT: <img src="some_image.png" alt="" /> . .
<img src="some_image.png" alt="" />
, :
Content-Disposition: attachment; filename=<file name.ext>
Source: https://habr.com/ru/post/1763439/More articles:Applying a function in each row of a data frame in R - filterhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1763435/ipad-partial-curl-modal-transition-always-curls-to-full-screen&usg=ALkJrhhjg2Ciewnu-BEhClSV2y0IZmEW2wHow to capture parent url from iFrame using C # - c #How to find the button with the value "value" on the html page (Webbrowser - Delphi) - htmlAdding chat features and VOIP calls? - androidhow to convince my manager of rails 3 updatesJAR file signature file format - javaCreate a Visual Studio 6 Project Using Visual Studio 2010 - c ++Отправка большого файла на вход PIPE в python - pythonЗахват подписей пользователей в приложении для Android - androidAll Articles