• Resolved calvissuperman

    (@calvissuperman)


    For whatever reason I can’t get specified images to auto-crop and resize like the regular images.

    So in settings, I have it set to grab the first image of the post by default, and that works great. It grabs the Featured Image from my theme which is a 4:1 scale image and not always the best thumbnail image. So I go the the page and input an image that looks much better in a 1:1 scale but it doesn’t crop and resize it like it says it’s supposed to.

    I’ve also regenerated thumbnails as well, still no luck. I’m pretty sure I don’t need to crop the images myself to a 1:1 scale for this right?

    Thanks for any help!
    Calvin Scrabeck

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ajay

    (@ajay)

    No you don’t need to but the cropping is pretty much handled by WordPress automatically and the plugin just uses add_image_size to generate cropped images. This does have the challenge of being reliant on that. I know there are a few plugins that allow you to customize / edit cropped images but it’s not something I’ve ever tried as I’ve generally been OK with how this happens on my sites.

    Thread Starter calvissuperman

    (@calvissuperman)

    The only reason this is a problem is because the way I have the boxes laid out on a phone it looked like I could fit two columns of boxes instead of just one. So I tried formatting the size of the boxes but the size is dependent on the photo size so I changed the default from 120px to 100px and now they look great! Problem is, as I said above the pictures are no longer cropping.

    Is there a way to just force the boxes to a specific size and then I can use the original 120px thumbnail size so the cropping works? I haven’t made any headway to solving this problem.

    Plugin Author Ajay

    (@ajay)

    Do you have the Hard crop option enabled in the plugin settings page? You’ll still need to regenerate images unfortunately.

    Thread Starter calvissuperman

    (@calvissuperman)

    Yes I’ve done both

    Thread Starter calvissuperman

    (@calvissuperman)

    Alright I finally figured out a solution. When I paste the link in the “Location of Thumbnail:” you just have to add a “-100×100” right before the .jpg or whatever file type you use.

    Plugin Author Ajay

    (@ajay)

    Is that the one inside the meta-box for CRP? You don’t need that unless you want to specify another thumbnail image. Else it will automatically pick up the featured image of the post.

    Thread Starter calvissuperman

    (@calvissuperman)

    Yes, but that is the issue. The feature image for the post is meant to be wide, like mine are 4:1. That doesn’t line up well usually for the 1:1 of the CRP boxes. That’s why I put in my own image. It just wasn’t auto-cropping that forced image, even though it said it would on the meta-box, and in my settings and in CRP settings. So by adding what I said above to the link fixed it.

    Plugin Author Ajay

    (@ajay)

    The location in the meta-box is used directly without checking if the image exists or an alternative exists because I assume there it is the image you want as you’d have set this manually and can hence eliminate the guess work

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Images won’t resize’ is closed to new replies.