• Hi,

    I’m currently working on my own theme, styling the_post_thumbnail().
    I want the thumbnail to be exactly 960x250px large.
    What I tried: Added theme support, added images size, added the_post_thumbnail(array (960,250)); – so far so good.
    The problem is: I want to be able to crop the uploaded images just for the thumbnails using the built-in image editor. But it won’t apply whatever I try to change.. It only loads the original image.
    I’ve worked more than 3 hours on that without any success…

    What am I doing wrong? please help ??

Viewing 1 replies (of 1 total)
  • Thread Starter petrolpress

    (@petrolpress)

    To make it more clear: I’ve got an image 2560×1920 (px) that I want to use as thumbnail with the size 960×250. Therefore it would be great to be able to resize/crop it to get the important part of it for the thumbnail. WordPress got this image editor which it allows to crop the image AND save the save changes just to the thumbnail.
    This creates image files like this on the server which contain the desired image part:
    <file>-e1480247860940-664×250.jpg
    This works for the thumbnail in the images list in the Media menu, but on my posts page it still uses the original (5:4) image and crops it ‘center’,’center’ instead of using the customized thumbnail ??

    Also using the plugin “Regenerate thumbnails”, the thumbnail files for the default thumbnail sizes and also my custom size are regenerated, but NOT using the chosen part of the image.

    Guys, do I understand this “save changes to thumbnail only” option in the editor wrongly or what do I do wrong?

Viewing 1 replies (of 1 total)
  • The topic ‘Crop Thumbnails using built-in Image Editor’ is closed to new replies.