WordPress.org

Support

Support » How-To and Troubleshooting » Images automatically cropped to square

Images automatically cropped to square

  • I’m using wp_get_attachment_image_src( $id, $size ) to pull images into a page template. However, when I do this, it automatically shows the squared image (with sides cut off), rather than the correct aspect ratio. It seems to be how I upload the images because it is only happening with images that I’ve been uploading recently.

    Is anyone else having this issue?

    I’m sure it’s not an issue with my code since some images work fine but here’s the pastebin:

    http://pastebin.com/fATxXCBV

  • The topic ‘Images automatically cropped to square’ is closed to new replies.