I know the size of image will be small if didn't specified by width and height attrubute in img html tag.
(http://drupal.org/node/322502)

Would it be changed as the following in the future if possible?
if (size of image is not specified in img height and width)
if (size of image is not wider than page and no higher than page) then print image in actual size in pdf file
else print image as specified by img tags

If it is not appropriate to request printer module having such a feature, please point out, thanks~

Comments

jcnventura’s picture

Status: Active » Closed (works as designed)

Hi,

It's not impossible to write code that adds width and height attributes in the HTML before it's sent to TCPDF, but it's really not the job of this module to implement this kind of hack in order to solve a bug that is easy to solve in TCPDF.

Submit this as a bug to TCPDF, please.

João