Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Photos in a form
Message
From
08/09/2014 16:10:06
 
 
To
29/08/2014 18:25:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01606739
Message ID:
01607189
Views:
92
>>What do you suggest if I want to have photos in a form?
>>
>>How do I manage if size of photos are different? I mean what should be the size of the image in the form?
>
>I have added images to my form for a membership program that I wrote. Found that the images auto-resized by the image control are horrible. So I used GDI to generate a thumbnail image to match the size of the image control. This gave much better results. As to the size of the image on the form -- it depends on the form size available to the image control as the width/height of the image control would be the size of the generated thumbnail.
>
>I saved the images to the file system in a directory under the database location and stored the image name to a table field. With the fixed file path that I controlled I did not have to store the file path with the image name.

Thank you for the feedback.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform