Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1005234

    Good morning
    I have a bit of a mystery on my hands.
    I received notification that a website I just created has reached about 80% of disk space. I was a bit puzzled by this so I went to see where most of the data was being used and it seems to be in the uploads and specifically some images.

    When I looked at the size of many of the images they were quite large – 700KB + So I thought that perhaps the images I uploaded were that big, but when I went to the original images that I had uploaded from my computer, they were nowhere near that size in most cases they were about half that size even less.

    So I am totally puzzled what may have caused them to double in size. Below is a link to the website.
    Your help would be greatly appreciated

    #1005325

    Hey Ivana,

    I’m not really sure why that’s happening.
    Honestly it’s the first time I heard that happening though I have already checked and could confirm that the cropped images are in fact larger in byte size.
    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1005348

    Hey Nikko
    Thank you for your quick response – I really appreciate you looking into it for me.
    I have created Admin User Account – details are below.

    #1005739

    Hi,

    Based on what sizes you using, you can disable what is not needed
    https://kriesi.at/support/topic/how-to-disable-enfold-creating-media-image-sizes/

    from the image sizes!

    Best regards,
    Basilis

    #1005810

    Hi Basilis

    Thank you for your response. The issue is not the fact that images are created in different sizes, but rather that when I upload an image, it increases the file size. For example original image named BrooklynBowl1 whose dimensions are 1100 x 825 pixels 96dpi and file size is 312KB. When it uploaded, the image size became 1030 x 773 pixels (which is fine), BUT the file size became 977KB – so 3 times the original upload size.

    It’s a real mystery … I’ve never come across anything like it :)

    #1005977

    Hi web4smallbusiness,

    Here is an article for you to consider

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1006198

    Thank you Victoria. However, this article also addresses the issue of different image sizes being generated. However, it does not talk about why it would increase the image FILE size two or even threefold.

    As per my example, I uploaded an original image named BrooklynBowl1 whose dimensions are 1100 x 825 pixels 96dpi and file size is 312KB. When it uploaded, the image size became 1030 x 773 pixels (which is smaller in size), BUT the file size became 977KB – so 3 times the original upload size.

    #1006470

    Hi,

    Thanks for the update.

    The theme sets the quality of the uploaded images from the default 80 to 100. You can remove or adjust that filter with this code.

    /**
    * Sets the default image to 100% quality for more beautiful images when used in conjunction with img optimization plugins
    *
    * @since 4.3
    * @added_by Kriesi
    */
    function av_return_100(){ return 80; }
    add_filter('jpeg_quality', 'av_return_100');
    add_filter('wp_editor_set_quality', 'av_return_100'); 

    Best regards,
    Ismael

    #1006473

    Thank you Ismael. Where do I add that code please? I use a Child theme for the website.

    #1006476

    i don’t know if these values correlates a bit with f.e. photoshop jpeg Quality.
    If so it might be in the most cases a good value of 35% – 45%
    i hope that the original uploaded image is untouched.
    You see here a post of mine to the same issue. https://kriesi.at/support/topic/a-better-image-resize-algorithm/

    #1006502

    Hi,


    @web4smallbusiness
    – you can add the code to the child theme functions.php.

    Best regards,
    Peter

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.