Not a thumb

March 2014 WordPress Theme
GK User
Thu Mar 19, 2015 11:56 am
When using news is one drawback. The images are not reduced. The result is that my frontpage still about 1 mb shows images. This while they are shown only at 1xx 1xx pixels. Yet he loads the original images (up to 1024 pixels wide).
This is the loading time of my sites not good. What to do here? sample: vpinfo.nl http://vpinfo.nl/wp-content/uploads/201 ... ewaard.jpg is original for the image on the frontpage..
User avatar
Fresh Boarder

GK User
Thu Mar 19, 2015 12:15 pm
Hello,

Try to edit News2/layout/content.post.featured.php file and change this fragment (around line 69):

Code: Select all
<?php the_post_thumbnail(); ?>

into:
Code: Select all
<?php the_post_thumbnail('medium'); ?>

You can also use another thumbnail sizes:
https://codex.wordpress.org/Function_Re ... _thumbnail
User avatar
Moderator


cron