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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.