Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Tuned Listener
yshld
Posts: 63
Registered: 11-29-2011
Accepted Solution

Image control picture resize

Hi,

 

I have a Image Control to display user photos. The photos are in different sizes. I want them all to be displayed in the image control as 200 * 200 size. How do I load the photo to be automatically mapped to the size 200*200? Currently it seems some big photos are chopped to display only a part.

 

I have set Auto size and Center property to be true, but it doesn't work

 

Thanks a lot!

Please use plain text.
Bronze Super Contributor
MikeSpragg
Posts: 317
Registered: 03-24-2009

Re: Image control picture resize

Unfortunately, there is no control for this - has to be done manually before it gets to db.
Please use plain text.
Gold Super Contributor
RJLedger
Posts: 2,234
Registered: 03-19-2009

Re: Image control picture resize

As Mike posted - you have to make sure the images are the right size BEFORE displaying them in the image control.


We have used the browser control in the past to do this.. better size control ;-)

--
RJ Ledger - rjledger@rjlSystems.net

".. Stay Focused..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Please use plain text.
Tuned Listener
yshld
Posts: 63
Registered: 11-29-2011

Re: Image control picture resize

The browser way really helps me to solve this. Thanks!

Please use plain text.