ExLibrisGroup / spineomatic-cloudapp

Cloud App version of SpineOMatic
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Ability to resize images #131

Open andrepetinga opened 3 months ago

andrepetinga commented 3 months ago

Hello I'm new using this app and I can't find a way to increase an image size on the template configuration, since it isn't really an "img" element on HTML, it's just an internal reference to an uploaded image... I've even uploaded images with windows background size(!) and they show up very small... Here's an example (Preview):

image

And a on a printed label.

image

Yes, the image has move a little to the right :) But we can see that the image is very, very small

I would like the image to almost fill all the cell. How can that be achieved?

mgobat commented 3 months ago

Hi @andrepetinga. Looks like this is an enhancement request. The image size on a label is set to have a maximum height of 25% of the label height.

andrepetinga commented 3 months ago

Hi @andrepetinga. Looks like this is an enhancement request. The image size on a label is set to have a maximum height of 25% of the label height.

Hello @mgobat. Yes, it's a possible enhancement for the app :) For now I managed a workaround. What I did was to place an image on our company website, on a public URL, and on the HTML what I did was a simple "img" tag using the "width" and "height" properties, so that I can set the size I want.

mgobat commented 3 months ago

@andrepetinga, smart workaround!