Hi 2 All,

I am getting problem with email images. The TD width and height is fixed but the image is coming dynamically from databse which might be bigger or smaller. If I apply overflow:hidden also, the image is showing up like squized or streched.

Is dere any solution to apply fix to the image. Specially in outlook. As we all know emailers wont support external links or .js for security reasons as they are going to block it.

Thanking in advance.

Recommended Answers

Here is a list of clients and CSS support. Happy hacking :)

http://www.campaignmonitor.com/css/

Jump to Post

All 2 Replies

Adjust the img parameters in your css file to reflect it being 100% of width or height of your TD container. If you set the image to scale to 100% for both width and height, then your image will distort/skew/stretch.

Hope that helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.