rado
Posts: 221
|
| Posted: 06/27/2009, 12:56 PM |
|
Hi everybody,
I'm not sure that this is possible but in any way....
I have employee record with file upload component for employee picture. What I would like to do is when I select picture for upload, to view it (before I click on "Add" button) in image field that I already created in record form. I was thinking to use "Before Process File" event to save control value (image path) of file upload component, however the file upload is dynamic control and I don't see the way to capture the path that was inserted using "Browse" button.
Does anybody have idea can I and how to accomplish this.
Thanks a lot,
Rado
|
 |
 |
damian
Posts: 838
|
| Posted: 06/28/2009, 1:45 AM |
|
i dont think you could code a preview of the image before uploading...
php is server side so if you havent uploaded then php cant use it
javascript might be able to but how would you know what viewer was installed on client machine?
what is the reason for previewing the image? xp and vista can present thumbnails in your browse window?
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
rado
Posts: 221
|
| Posted: 06/28/2009, 6:37 AM |
|
Thanks damian for your comment.
Rado
|
 |
 |
|