Wednesday, May 13, 2015

Display Width of Image

Previously, the width of image in terms of HTML image tag <img> is 100%. It is not flexible enough to display on the page, especially on Classic Book.

From version 3.2, CBB introduces the display width option for image. The display width can be changed to any value in terms of percentage or pixel. The display height will be adapted to maintain aspect ratio. As a result, the image is not too large or too wide to take up the whole screen. No matter the actual size of image is, the image will be displayed using display size if it is specified.

No comments:

Post a Comment