CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 View image before add emplyee record

Print topic Send  topic

Author Message
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
View profile  Send private message
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.... :)
View profile  Send private message
rado

Posts: 221
Posted: 06/28/2009, 6:37 AM

Thanks damian for your comment.

Rado
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.