WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Image file sizes larger than what was uploaded (6 posts)

  1. nxpage
    Member
    Posted 2 years ago #

    I have images set to resize 900 x 700 on upload (default size). Originals BEFORE uploading are 1024 or larger but optimized file sizes 250kb or less. When I upload the image dimensions are resized to 900 x 700 (depending on orientation) so that's working. However, the file sizes are much larger than what was uploaded.

    For example, a file 1024 x 768 at 219kb ends up being 900 x 675 at 560kb which is more than double the uploaded file size. It's consistent with every upload.

    Screenshot: http://nxpage.com/dnld/ilo/NextGEN-File-Size-Upload.pdf

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. lolobu
    Member
    Posted 1 year ago #

    Did you find any clue on that? I've got the very same problem so I ended up not using the nextgen importer but putting the images with the right size directly into the directory and get nextgen to scan this directory for new images.

  3. nxpage
    Member
    Posted 1 year ago #

    No, sorry lolobu. No one ever replied and I couldn't find an answer. The users have to use the nextgen uploader because beyond that it would be too technical for them. So the images are all twice the size, ridiculous I know :(

  4. lolobu
    Member
    Posted 1 year ago #

    I can't believe that with so many people using NG, I found only your post and another one 4 months older without any answer either talking about this issue. Ending up with images way heavier than their should be is not a minor issue especially for slideshow with big images !!! If I compare the image generated by the NG importer and the original one (same size) that I saved in gimp with jpeg 85% quality, the NG one is 5 times bigger (I mean, the file not the image of course) !! In terms of loading time, it's a complete waste.
    I played quite a bit with the different options to try to understand the issue better.
    - When you're in the image importer, if you uncheck the option "Scale images to max width ..." then you end up with exactly the image that you uploaded. That means that if you use any tool before end to resize your image, you just uncheck this option and you're fine.
    - In NG options, in the images tab, you can set the "image quality" option to any value, it doesn't make any difference, the resulting image has always the same file size. And that seems to be the issue, the jpeg exporter is always set to 100% quality. If you try with another tool (I tried with gimp) to resize your image and save it in jpeg with the maximum quality, you end up with more or less the same image size !!

  5. bitkahuna
    Member
    Posted 1 year ago #

    if you use the resize images option for a given gallery, it DOES apply the image compression level. i tried '1' and got 'lego' like images, lol. this was using imagemagick but it shouldn't matter.

    it seems the issue is on initial upload.

  6. bitkahuna
    Member
    Posted 1 year ago #

    yup, i can confirm the flash uploader is the pile of shat that doesn't do compression. if you avoid the flash uploader it does actually compress correctly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic