WordPress.org

Ready to get started?Download WordPress

Forums

Cropping featured image (6 posts)

  1. scrambled
    Member
    Posted 4 years ago #

    I'm trying to add a featured image to my post, but pressing "crop" does nothing. When I save the featured image, WP ignores my selection, auto-selecting a portion in the center of the image instead. Ideas?

  2. preisjaeger
    Member
    Posted 3 years ago #

    same problem here! any solution?

  3. rfagan
    Member
    Posted 3 years ago #

    having the same issue here as well

  4. lilsteevey
    Member
    Posted 3 years ago #

    Same here... setting the default works fine but when trying to add featured images to other pages it always center crops no matter how I resize/crop using the WP tools. If anyone finds a solution please post.

  5. preisjaeger
    Member
    Posted 3 years ago #

    My problem was that my WP-theme didn't use the cropped images (with get_the_post_thumbnail($id, 'thumbnail')). It was using an own method in functions.php. An other problem is that wordpress always shows the default image at the right in post-edit (and not my cropped), although the cropped image saved correctly.

  6. sjogro
    Member
    Posted 3 years ago #

    I had a smilar problem. The theme I was customizing came with it's own resizing method. I replaced their image loading code with:

    <?php the_post_thumbnail('post-image'); ?>

    And now it uses the thumbnail as cropped by the WP image uploader!

Topic Closed

This topic has been closed to new replies.

About this Topic