Jump to content
Server Maintenance This Week. ×

Resize Image in SC


Guest

This topic is 5557 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

This topic is 5557 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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