Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #301635

    I am looking to make my images as small as possible for speed purposes, and would love to know how large/small the different images should be – so that I don’t upload 500×500 when only 300×300 is shown in a 1/3 image (or whatever it is).

    Can you help me with an overview or a manual page?

    #301640

    Hi!

    You can find image sizes defined in Functions.php file below

    $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
    }

    Best regards,
    Yigit

    #301692

    Thanks Yigit.
    I have an image on my frontpage which resides in a 1/2 section. It is approx. 970 x 780 (from screendump). I can’t find what size that is in the Functions.php – neither from size or from text.
    Can you help?
    /Anders

    #301696

    Hi!

    Sure! Can you please post the link to your website and point out the image?

    Best regards,
    Yigit

    #301703

    Good day,

    If I want to change the size of the “fullResImage” image (Preview Images in my Portfolio), would this be the place?

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>2300, 'height'=>360 ); // images for fullsize pages and fullsize slider

    And do I have to re-upload my portfolio Preview Image to get the changes to reflect? I need to display the images at the resolution it was uploaded originally. Currently my images are being cropped to width:1030. And the above setting was 1030 before I changes it. After changing the above value and relaoding the page it is still not working.

    Kind regards,

    #301714

    Good day!

    After changing the values, you should regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Yigit

    #301825

    Absolutely. It’s http://www.altomadhd.dk
    Thanks,
    Anders

    #301845

    Hey Anders!

    Can you post the direct link to the image in question?

    Cheers!
    Josue

    #302432

    Hi,

    I have changed the line and regenerated the thumbnails but the images are still cropped to 1030. Is there anther place where this value might be hard-coded?

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>2800, 'height'=>980 ); // images for fullsize pages and fullsize slider


    http://www.athanescholtz.co.za/

    Any suggestions?

    #302469

    Hi Josue
    Yes, I am sorry. The image in question is on the front page of http://www.altomadhd.dk and has a family of three on it.
    Screen shot here: https://www.dropbox.com/s/bhtsycyzuav5a51/aoa-screenshot.png
    The original in the media library is huge, since I didn’t want to minimize before I knew what to minimize for.
    Thanks for helping out!
    /Anders

    #302985

    Hey Anders!

    The image that is being included on the homepage is already resized to 495×400.

    Regards,
    Josue

    #303028

    Good. So I guess my “problems” arise from me being on a retina screen.
    I have put it up there as 495×400 and it looks great – even Google PageSpeed agrees. ;)
    Have a great day.
    /Anders

    #303029

    You too Anders, glad to help :)

    Cheers!
    Josue

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Image sizes’ is closed to new replies.