Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #312466

    Hi!

    I don’t know if you can help with this, is only a question about the images, properly not of the theme, but maybe you know the answer.

    When uploading an image, WordPress “duplicates” it in different sizes, my question if there’s a problem by replacing them directly in ftp. The images I upload are optimized in size, but not the ones that WordPress creates. I already read a little about this, and some mention there’s a problem, and some others that it isnt, so maybe I can get your opinion.

    If you ask me “Why you want to improve those images?”, it’s only to improve the PageSpeed Insight that Google gaves me of the site. I’m still reading about this topic, so if I find anything useful that can help anyone else, I’ll post the info in here.

    Thank you!

    #312631

    Hi odmv91!

    Thank you for using Enfold.

    Yes, it is ok to replace the images via FTP but make sure that you retain the image file name. You can change the thumbnail sizes on functions.php, look for this code:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider

    You can also use this plugin in order to change the thumbnail sizes directly on the wp dashboard: https://wordpress.org/plugins/simple-image-sizes/

    Cheers!
    Ismael

    #315252

    Thanks for your help Ismael!

    You can close this topic now.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Images doubt’ is closed to new replies.