• Resolved AZBros

    (@azbros)


    I have my site set to the list view rather than the grid. Right now I’m having a couple issues, both pertaining to the image size and how the thumbnails crop the images.

    The featured images showing up in the list of posts are square. I’d rather it be a ratio like 4:3 or 16:9. Is there a way to adjust the ratio of the image? I tried changing the standard thumbnail sizes, but I’m not sure I did it correctly. I created a functions.php file in my child theme and added the add_image_size code there. Is this how/where I would do this? I know the parent theme doesn’t have an actual functions.php file, but a file in a Functions folder titled “init-core.php”. Was I supposed to create a folder/file like that in the child theme and then edit it?

    Also, images are being cropped in an odd way that cuts off portions of my images. Is there a way to specify an image size or aspect ratio and have the thumbnail fit/fill that space rather than cropping the image? Prior to this, I was using the Twenty Fourteen theme and as long as I used a very large image, it would be shrunk to fit and fill the space needed for the Featured Image, but it was never cropped. I’d like to do something similar to that if possible.

    Hopefully all of that makes sense and maybe someone can steer me in the right direction. Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘List View Image Size and Cropping’ is closed to new replies.