Jump to content

Image Size - Problems With Getting The Value


Recommended Posts

I have to maintain the size of an image to fit the page in external pdf. The problem is that scaling in XSL is either by width or by height. The problem is that I don't actually know if the image will fit the page with it's original height or width and I can't determine that the image must be scaled by one of those attributes. The best way of doing what I want is getting to know the original image size and then deiciding to scale it by height or by width after comparing those numbers with the page's attributes. If I'm wrong or something, just tell me. If you have any ideas on solving the issue I'd be grateful.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...