Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter shashphotography

    (@shashphotography)

    Hi James, I checked with ImageMagick (imagick module version 3.3.0RC2) while gd library is disabled. The results are much better as I get (from buyer’s download link) 300 dpi image instead of 96 dpi image (with gd library) but image size is increased to 8.99 MB as against actual uploaded image size of 7.57 MB. So still image sent to the buyer is processed in the background.

    Thread Starter shashphotography

    (@shashphotography)

    I set the parameters in Media Settings as below, but still get the same results (downloaded image is 96 dpi instead of 300 dpi).
    Thumbnail size: Width 0 Height 0
    Medium size: Max Width 0 Max Height 0
    Large size: Max Width 0 Max Height 0

    One more thing I found, if I disable gd library and upload a new image and then try to download it with buyer’s download link, it gives 0 kb file (probably no access to wordpress media files in absence of any media library).

    Thread Starter shashphotography

    (@shashphotography)

    I sent the query through email. Here is the email conversation.

    On Wed, Jun 17, 2015 at 6:17 PM, Graph Paper Press <support@graphpaperpress.com> wrote:

    Hi Shash,

    The image copies for download are generated by WP itself. WordPress uses GD Library or Imagemagick (depending on which is installed) for all its image processing. Add the following line to your theme’s functions.php file to avoid image compression:

    add_filter( ‘jpeg_quality’, create_function( ”, ‘return 100;’ ) );

    That will work for jpgs. PNGs return as 32 bit files also due to the image processing done by the PHP libraries. PNGs are returned as true color images (24bit for color + 8bit alpha channel)


    Rick Alday
    support@graphpaperpress.com

    On Wed, Jun 17, 2015 at 10:34 AM EDT, Shash <@gmail.com> wrote:
    > Hello,
    >
    > I am developing my photography website using sell media on Harmonic theme on localhost. Almost everything is working fine until I downloaded the image I purchased on the localhost through Paypal Sandbox and compared it with the image I uploaded to my website. I have added the code to return to 100% quality for jpeg files but then downloaded jpeg file size is smaller than the uploaded jpeg file size. Most importantly downloaded jpeg was 96 dpi and I had uploaded 300 dpi jpeg. I also checked this with png file format and in this case downloaded file is bigger than the uploaded file. For this png format, uploaded file was 24 bit and downloaded file is 32 bit. So change in file size makes sense but something in the background actually playing with pixels of uploaded images, even the images to be sold or sent to buyers. I just wanted to confirm whether Sell Media processing image, which is to be downloaded by buyer, in the background?
    > I am using a tunnel to access my localhost.
    > Thanks and regards,
    > Shash.

    Thanks again.

    Thread Starter shashphotography

    (@shashphotography)

    Thanks for your quick reply James. I did ask Sell Media support before I post this query and Sell Media support has confirmed that their plug-in is not modifying images.

Viewing 4 replies - 1 through 4 (of 4 total)