images from rss feed distorted

Out of context: Reply #3

  • Started
  • Last post
  • 6 Responses
  • caput580

    There are several basic things you can do:

    1. Don't give an image both width and height, stretching will occur almost certainly. Use one of them and then the image is scaled accordingly. This depends on your layout of course.

    2. Create an overlay div and place the image as background, then cropping will occur but you can bring it to a decent display if images from the feed are similar in size.

    More?

View thread