• Resolved dallasmoore

    (@dallasmoore)


    I am trying to figure out how to edit the wordpress thumbnail feature so that the images do not crop. I am fine with one of the dimensions being smaller as long as the full image is shown. Right now, the image is resizing and then cropping the image somewhere in the middle. At the very least I would like it to crop from the top. Thanks in advance! https://cherrysodagraphicdesign.com/vitatest/gallery

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Settings -> Media. Untick Crop to exact dimensions and then save the settings.

    To resize any existing images, install and use the Regenerate Thumbnails plugin: https://www.ads-software.com/extend/plugins/regenerate-thumbnails/

    Thread Starter dallasmoore

    (@dallasmoore)

    I did that, and tried regenerating the images with the plugin, but to no avail. Does that option on the Settings page only work on ‘thumbnail’ images. I am calling the image in my template using a custom size.

    Thread Starter dallasmoore

    (@dallasmoore)

    I even tried adding a new image and it is still cropping the middle of the picture after resizing to fit the custom width.

    esmi

    (@esmi)

    I am calling the image in my template using a custom size.

    Ah – now you didn’t mention that earlier! Are you using add_image_size to set up your custom thumbnail?

    Thread Starter dallasmoore

    (@dallasmoore)

    Yes I am. XD Sorry, I forgot to mention that. I actually thought about it before I posted but by the time I had my question up, it skipped my mind.

    esmi

    (@esmi)

    Ensure that you set $crop to false.

    Thread Starter dallasmoore

    (@dallasmoore)

    Could you elaborate? Where am I setting it to false and in what format? Thanks.

    Thread Starter dallasmoore

    (@dallasmoore)

    Ok, add_image_size(”,”,”,$crop) Gotcha.

    Thread Starter dallasmoore

    (@dallasmoore)

    Solved. Thanks!!!

    esmi

    (@esmi)

    No problem ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Thumbnail Resize only vs Crop’ is closed to new replies.