How to avoid image modifications in wordpress?
-
Hello, I am developing website for my photographs using Harmonic theme with Sell Media plug-in on localhost. I have gd library installed on my server. I run whole buying process on my localhost. But when I download the image from the download link provided to the buyer, I don’t get the exact image I uploaded to wordpress media library. My original uploaded jpeg image is 4205×2785 pixels @ 300 dpi (7.57 MB) and image downloaded through link provided to buyer was 4205×2785 pixels @ 96 dpi (1.98 MB). Then I added
add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );
to function.php and with 100% ‘quality’ the image downloaded through link provided to buyer was 4205×2785 pixels @ 96 dpi (6.70 MB). Still resolution is not restored to 300 dpi. So it looks like image is still processed before buyer downloads it. Is there any way I can bypass these modifications to the images to be downloaded by buyer and provide buyer actual original file?
- The topic ‘How to avoid image modifications in wordpress?’ is closed to new replies.