WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress 3.0 Featured image sizes problem (5 posts)

  1. VladNovo
    Member
    Posted 3 years ago #

    Hey all! I have an issue with the Featured Image on post page. I've added the add_image_size function with exact width and height of the thumbnail. I understand that the thumbnail should be cropped exactly to the size i put inside this function. But the result is strange: the thumbnail is getting only the height right, but the width is anything but the size in the function. For example: in the function width 303, height 100, on the page i see width 133, height 100.

    What causing this and how it can be fixed?
    Thank you.

  2. VladNovo
    Member
    Posted 3 years ago #

    In case someone is interested: after you add add_image_size('some name', 524, 350, true); to functions.php you actually must delete all images from Media Library and then upload them again. Otherwise this function simply wont work. Not recommended for old sites i guess )

  3. oldbag66
    Member
    Posted 3 years ago #

    Hi Vlad, i have this problem, could you paste your full code that you've used in your functions file (only the bit relative to the featured image of course!)

  4. Karalius
    Member
    Posted 3 years ago #

    it worked, it worked, it worked! THANK YOU VladNovo, thank you very much, you really helped me a lot

  5. baia
    Member
    Posted 3 years ago #

    Didn't work here.

Topic Closed

This topic has been closed to new replies.

About this Topic