badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Can't change featured image size default

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12421
    david.danaan
    Participant

    I’ve changed the code in functions.php for ‘featured-medium’ as follows:

    // Add Attitude custom image sizes
    	add_image_size( 'featured', 670, 300, true );
    	add_image_size( 'featured-medium', 230, 355, true );
    	add_image_size( 'slider-narrow', 1038, 460, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    	add_image_size( 'slider-wide', 1400, 460, true ); 			// used on Featured Slider on Homepage Header for wide layout
    	add_image_size( 'gallery', 474, 342, true ); 				// used to show gallery all images
    	add_image_size( 'icon', 80, 80, true );						//used for icon on business layout
    

    and tried clicking “save all changes” in theme options to clear the cache, as suggested in other posts.

    The images in the blog medium template are still 230 by 230. I have a lot of portrait orientation images that need to not be cropped square. What am I doing wrong?

    Here’s a page that shows the problem: http://stjamesucc-love.org/news/

    Thanks for your help.

    #12438

    Hi david dannan,
    you use regenerate thumbnail plugins to regenerate you image.
    Hope this may help you
    Thank you!

    #12454
    david.danaan
    Participant

    Yes, I did that but forgot to include it in my question. So I edited the code, regenerated the thumbnails and cleared the cache. It’s still not working for some reason.

    #12458

    HI david dannan,
    if you change this code
    add_image_size( ‘featured-medium’, 230, 355, true );
    then it must work. But i am not sure why this solution is not working. if i find any information then i will let you know.
    Thank you!

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