Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1087956
Image file size
Closed

Comments

  •  2
    priya started the conversation

    Hi

    I've set the theme at http://www.thelondoneducation.com/. If u see the our services section on this page, it is a portfolio .u can see the featured image of each portfolio item, The problem is when i had set the featured image ,they were of filesize less than 100 kb, but after it comes in this portfolio ,the image size comes around 250 to 300 KB, Why this is happening? this is affecting my page speed, please let me know what i can do. How i can make the image size as orignal upload?

  •  7,121
    Oliver replied

    HI!

    By default generates 100% quality of thumbnails. 

    You can edit:

    add_filter('jpeg_quality', create_function('', 'return 100;'));
    

    /wp-content/themes/thegem/functions.php

    line 48

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver