Picture size to page width

Please post all questions relating to Help & Manual 6 here!

Moderators: Alexander Halser, Tim Green

Post Reply
David Navratil
Posts: 9
Joined: Mon Feb 01, 2016 11:43 am

Picture size to page width

Unread post by David Navratil »

Hello,

Is possible to insert picture with width for example 90% of page width?

Thank you for answed.
Regards David N.
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Picture size to page width

Unread post by Tim Green »

Hi David,

This has been introduced in Help & Manual 7, where you can now define fully responsive images whose width is a percentage of page or container (e.g. a table cell) width, with either unlimited expansion or expansion to a maximum of their native defined width.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
David Navratil
Posts: 9
Joined: Mon Feb 01, 2016 11:43 am

Re: Picture size to page width

Unread post by David Navratil »

Hi Tim,

I know about support fully responsive images whose width is a percentage of page, but our company has license at H&M 6 and i try find some solutions at this version. Is here somethink what can I do?

Thank you for your answer.
David
User avatar
Tim Green
Site Admin
Posts: 23181
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Picture size to page width

Unread post by Tim Green »

Hi David,

The only solution in Help & Manual 6 would be to use the HTML Code Object tool in Write > Insert Object to enter the HTML code for the image with a percentage width, like this:

Code: Select all

<img src="myimage.png" style="width:85%;height:auto;" />
There are two problems with this: First, it would only work in HTML-based output formats. In RTF and PDF you would get no image at all. And you would also have to manually add the images you use to the Baggage Files section to have them exported with your project. This means you would also have to always store your project in uncompressed HMXP format if you use more than just a few images. Otherwise they would inflate the size of your HMXZ project file too much.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
David Navratil
Posts: 9
Joined: Mon Feb 01, 2016 11:43 am

Re: Picture size to page width

Unread post by David Navratil »

Hi Tim,

This works, thank you very much.

David.
Post Reply