attachUrl in layout

Hello , I have a layout “2U” with a image in cells “b”.

layout.cells(“b”).attachURL(“image.jpg”);

But… The image is larger than the cell and in IE does not take.

Firefox resizing, but IE no.

Hello,

attachURL just loads the image into and iframe and doesn’t resize it.

You may try to load the html page with the image inside it. And here you may resize the image as you need.

layout.cells(“b”).attachURL(“some.html”);