Simon Chius
Simon Chius

Reputation: 476

Picasso displays in wrong orientation

Picasso.with(mContext).load(lPreviewData.getImage()).into(holder.lPreviewIV);

This is how I am rendering the image url to ImageView. Unfortunately when i render an image it was showing in landscape mode but the actual image is in portrait.

Upvotes: 2

Views: 4313

Answers (1)

craigts
craigts

Reputation: 3077

This is a problem with exif rotation handling in Picasso. You should either rotate the image in code or fix the source image to have the correct orientation without using exif rotation.

I should also mention that this problem only affects images retrieved via url.

Upvotes: 2

Related Questions