email - Cropping image in html without using div -


i working on email integration. know div tag not interpreted on various platform (some outlook version, webmails, etc).

my problem : want crop unkown size image... without using div tag (so table...) ! think possible ?

thanks ! stef

there no real guaranteed work way crop images in html emails. closest use background image container declared width/height smaller actual size. issue clients may not ignore , display full size, others may instead warp image fit size of container listed.

your best bet manually crop correct size beforehand , assume html/css resizing not work (thanks outlook), know automated templates not option. other choice in finding solution trial , error using this css guide , testing site email on acid. using data collected past emails find popular email clients , devices , try maximize those. have willing provide broken email smaller portion of audience well.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -