Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1251208

    Hello Kriesi,

    I am trying to add images to an easy slider on my front page (www.anjabehrens.com). In the easy slider the images are set at ‘featured 1500×430’. However, the images aren’t resized. In fact, no matter what size I pick, the images stay the same.

    My husband uses Enfold as well, and has an easy slider on his front page (www.hcpost.dk), where the image size is set at ‘featured 1500×430’, and in his case it works fine. But he hasn’t been able to find out, what the differences are between our two sites. The sites seem to be set up in the same way, but we still can’t figure out why the images in my easy slider aren’t resized as they should be.

    Can you please help me?

    Best, Anja Behrens

    #1252029

    Hello Support,

    Are you there? I need your assistance.

    Best, Anja

    #1252386

    Hi,

    Sorry for the delay. What is the original size of the images? The theme creates thumbnails based on the size and aspect ratio of the original images, so images with different aspect ratio compare to the defined thumbnail (1500x430px) might produce an image or thumbnail that does not exactly reflect the predefined dimension. If you want the images to be resized exactly as defined, you have to enable the crop parameter by editing the functions.php file directly, line 180:

    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );
    

    Adjust it to:

    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430, 'crop' => true);		
    

    Or install the Simple Image Sizes plugin, then adjust the settings of the thumbnail in the Settings > Media panel. You have to regenerate the thumbnails after adjusting the settings.

    // https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #1254277

    Thanks Ismael. I am not sure if your suggestion actually helped, but somehow at the end of the day the layer slider started working the way I wanted it to. So the problem seems to be solved:-)
    Best regards, Anja

    #1254555

    Hi Anja,

    Great, I’m glad that you got things working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.