images from rss feed distorted
images from rss feed distorted
- Started
- Last post
- 6 Responses
- BaskerviIle0
what CSS should I be using to crop/scale the images?
- 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?
- caput580
here is an example of an overlay technique for images that are similar in size:
- BaskerviIle0
cheers, thanks for the tips, all a bit new to me
- caput580
You're welcome, I just did this so many times. Drop me a line if you need help.