About images

Stimulsoft Reports.WEB discussion
Post Reply
marianux
Posts: 11
Joined: Thu Oct 24, 2013 5:15 pm

About images

Post by marianux »

Hi,
id like to know if it's possible to set like url for an imge objet, the url of a ashx (so, show image from a handler).

id like to know if its possible to show image resize to the image object size, in my app users can upload their images but when they print report, it must be the same size, so id like that image could resize to object size and keep aspect ratio.

Thanks in advance.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: About images

Post by HighAley »

Hello.

Yes, it's possible to add images and they will be resized with right aspect ratio if you set appropriate properties.

Thank you.
marianux
Posts: 11
Joined: Thu Oct 24, 2013 5:15 pm

Re: About images

Post by marianux »

Thanks.
Could you explain me how-to:
- Add Url of an ashx file to URL propertie of image object
- What properties must be setting for resizing image keeping aspect ratio.
My version is 2012.3
Thanks in advance.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: About images

Post by HighAley »

Hello.
marianux wrote:- Add Url of an ashx file to URL propertie of image object
Could you describe what kind of URL do you have and how do you store images?
marianux wrote:- What properties must be setting for resizing image keeping aspect ratio.
Please, read the Image Stretching section in our User Manual.

Thank you.
marianux
Posts: 11
Joined: Thu Oct 24, 2013 5:15 pm

Re: About images

Post by marianux »

Images are stored in file sytem, in a specific folder.
Name of the image is stored in database.
In my web app i use a handler (.ashx) for getting images to show into web form (for example)
Id like to know if it's possible get the image throug the handler setting url of handler , for example:

~handlerimages.ashx?id=6659&ft=2

Thanks for your support
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: About images

Post by HighAley »

Hello.

You could try to use ImageURL property and set there this URL to the Image. You could use any expression to set this property.

Thank you.
Post Reply