WordPress.org

Ready to get started?Download WordPress

Forums

Images automatically cropped to square (1 post)

  1. jfeaver
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic