-
AuthorPosts
-
August 4, 2014 at 5:16 pm #299772
Hey there,
in WP I can set the max image size for uploads but it seems to be ignored. Is that overwritten by enfold? Can I change it? I dont want 5000*3000px images on my server…THX
GabrielAugust 4, 2014 at 7:05 pm #299820Hi Gabster!
You can find image sizes adjusted by Enfold in Functions.php file in Appearance > Editor
$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'=>710, 'height'=>575 ); // 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'=>710, 'height'=>270); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider //overwrite blog and fullwidth image on extra large layouts if(avia_get_option('responsive_layout') == "responsive responsive_large") { $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column) $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 try using a plugin like this one – https://wordpress.org/plugins/wp-image-size-limit/
Cheers!
YigitAugust 5, 2014 at 10:42 am #300087Hey Thanks. But how can I set a max size there? And why is the WP setting ignored?
August 5, 2014 at 10:52 am #300090Hi!
Have you tried using this plugin – https://wordpress.org/plugins/wp-image-size-limit/
I posted image sizes of Enfold to show it is not using 5000x3000px imagesCheers!
YigitAugust 5, 2014 at 4:32 pm #300297On my server it is uploading the real image size with all the scaled fromats as well but the WP settings for the max size are ignored. I know there are Plug ins but I would prefere to use the build in setting of WP.
August 6, 2014 at 4:40 am #300493Hi!
If I am not mistaken, there is no setting for maximum image dimension or size. You can only limit the maximum file size of the images. You can use the plugin Yigit suggested or try to upload images smaller than 5000x3000px. Images with 2000px in width should be enough for sliders, posts etc.
Best regards,
IsmaelAugust 6, 2014 at 7:59 pm #300819Check settings/media. But I think the plug in might also do it…
August 7, 2014 at 6:07 am #300962Hi!
As far as I know that plugin or any of the others that try and assist with limiting image uploading are your best and only option in this case.
Best regards,
Devin -
AuthorPosts
- You must be logged in to reply to this topic.