Jump to content

Change page size based on a User uploaded graphic

Recommended Posts

This may be impossible, but I thought I would ask.


I have a banner template. The User will upload a vector logo. If the logo is horizontal in shape, I want the logo to scale up to fill the picture box height. But then the box also needs to get wider as does the page.


So I would need script(s) that would scale the logo, determine its width after scaling, adjust the size of the picture box, and then add the appropriate additional space to the template size.


Would something like this even be possible? I half remember a thread about being able to re-size pages, but I couldn't find it in the forum. And this might need to be in the Javascript forum as well.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Create New...