Jump to content
Sign in to follow this  
Guest

Resize Image in SC

Recommended Posts

Guest

I can never seem to get SC to resize an image for viewing in a Web Viewer. For example, if the WV is defined as such:

Global::gDocument_BaseURL & "Contact/Headshot/" & Person::PersonID

&

"height=" & GetLayoutObjectAttribute ( "mug" ; "height" ) - 2

& "&width=" & GetLayoutObjectAttribute ( "mug" ; "width" ) - 2

&

Case(IsEmpty(Person::gPictureEdit);

"&style=readonly"

)

I can upload images, see them, delete them, etc. And yes I've double checked that the Web Viewer does indeed have that object name. But the images always retain their original size and get cropped in my small WV on the layout.

Any syntax errors that anyone sees?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.