• Resolved ThatGuyEditing

    (@trex2303)


    So when I use the “custom” image sizes under “Images” (like 100w x 150h), one set of images show up fine and perfect, but other images that have a longer width are cut off…

    Is there a way to have the “ratio locked” so that it makes it that size, but still shows the whole image, and not cut off?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tom

    (@edge22)

    Setting both dimensions will cause a hard crop and cut off a part of the image if the aspect ratio isn’t the same. Not sure anything can be done to avoid that.

    Not sure what you mean by one set showing fine and the others not? Can you show me?

    Thanks!

    Thread Starter ThatGuyEditing

    (@trex2303)

    One image cut off, others showing fine

    Plugin Author Tom

    (@edge22)

    Just looks like it’s been cropped. To avoid that you would have to avoid hard cropping (setting both image sizes) and upload images that are the same dimensions.

    Thread Starter ThatGuyEditing

    (@trex2303)

    It only shows that way, when using WP Show Posts.. Under the Category page, the images show fine. Here is the Category page: https://arcade.gamerzfan.com/category/snes-games/

    But when viewing with WP Show Posts, I can’t have the images that large, because of how its displayed… So I thought making the dimensions smaller, would make the images smaller, but keep the aspect ratio, however, it doesn’t. It just cuts off the image..

    (Also to note, for some reason, the one category isn’t showing, I havent’ figured out why yet).

    Plugin Author Tom

    (@edge22)

    Can you link me to the page using WP Show Posts?

    Thread Starter ThatGuyEditing

    (@trex2303)

    https://arcade.gamerzfan.com But as I said the one category isn’t showing up for some reason. The one with the images cut off. It is only showing the other 2 categories.

    Plugin Author Tom

    (@edge22)

    In the images section of your list, are both the width and height set to a value? If so, try removing the width and only keeping the height.

    Thread Starter ThatGuyEditing

    (@trex2303)

    That actually almost worked… It did move the play now button below the images, instead of to the right of “those ones”. But keeps it to the right of the ones that work fine.

    So I changed the image location to “center” which then moves all the “Play Now” buttons (originally “read more”) to below all of them, However, the Title and Play now are to far to the left, and need to be centered with the images.

    Is there something in the CSS I can edit to move those to the right? (or Center them)

    Plugin Author Tom

    (@edge22)

    Give this a shot:

    .wp-show-posts {
        text-align: center;
    }
    Thread Starter ThatGuyEditing

    (@trex2303)

    Everything is displaying perfect now. Fantastic.

    Had to make the title links a little smaller though, but still viewable.

    Thanks for the replies and the help.

    Plugin Author Tom

    (@edge22)

    Awesome! Glad I could help ??

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