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 #1085258
Very long when add blog bloc
Closed

Comments

  •  2
    Nicolas started the conversation

    Hello,

    I use this Google tool to check the speed of my website.

    When I add the "News & Blog" element, the page is much longer to load because of the size of articles images. However those images are not so heavy (120Ko, 96Ko, 32 Ko). but the Google tool returns that the images created and used by the theme are much heavier than the original image (233Ko, 211).

    The GEM Theme creates 3 image for each post main image. And are heavy. The images created by The GEM end like this : 

    -thegem-blog-slider-halfwidth.jpg
    -thegem-blog-compact.jpg
    -256x256.jpg

    I need to find a way to reduce the size of theses images. Is'nt their a way to always use the same image for different format ?

    Thanks for your help

    Nicolas

  •  7,121
    Oliver replied

    HI!

    You can control size of the generated thumbnails in the functions.php line 48

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

    Also we recommend to use:

    W3-total  cache plugin, enable page cash browser cache, minifire  of css and js.

    https://tah.wordpress.org/plugins/w3-total-cache/

    For optimizing images we recommend to use next services:

    tinypng.com

    jpegmini.com


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

    Regards, Oliver

  •  2
    Nicolas replied

    Hi Gregor,

    Thanks for your answer. How can i edit the function.php ? Is there an editor in wordpress ? or should I use ftp ?

  •  7,121
    Oliver replied

    You can edit it via Appearance > Editor. But I don't recommend you do it better edit it via FTP.

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

    Regards, Oliver

  •  2
    Nicolas replied

    So the modification will be lost if when i update the them ? I'm trying to open the child function.php file, but it's empty ...

  •  2
    Nicolas replied

    My host, WP ENGINE do not allow to install the w3 total cache plugin. They suggest me to use this on : https://wp-rocket.me/

    What do you think ?

    Thanks

  •  7,121
    Oliver replied

    HI!

    You use this. it's must work without any problems.

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

    Regards, Oliver

  •  2
    Nicolas replied

    Unfortunatly, when I install WP-Rocket and choose the "images lazyload" there are some trouble dispaying my ajax portfolio and the theme galery

  •  7,121
    Oliver replied

    HI!

    Sorry, we don't provide support with third-party plugins. pls. be so kind to understand that we can't to check on compatibility with our theme tons of the plugins and it's updates.

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

    Regards, Oliver

  •  2
    Nicolas replied

    Yes, i understand, but it's also true that the blog makes heavy images long to load... And no solution for me to fix it

  •  2
    Nicolas replied

    And the gallery too !!

    500Ko, 421Ko and 308ko !!!!!! insteed of 334Ko, 241ko and 179Ko !!!

    How is it possible ? the gallery picture are heavier than the originals ! and it slows down the website

    This is huge problem of you theme ! that's why i'm asking you how to fix it ??? the only way is to use a cache plugin, so maybe you could at least help me on it

    See here : https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fmiss-marquises.com%2F&tab=mobile

  •  7,121
    Oliver replied

    HI!

    Just change quality in the functions.php

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

    And start this plugin:

    https://srd.wordpress.org/plugins/regenerate-thumbnails/

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

    Regards, Oliver