×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Photo upload

Photo upload

Photo upload

(OP)
I can't believe I never found this forum. I've been posting in the IBM/Lotus: Notes forum, and other than Pascal I rarely get responses!

Just a quickie, I'm in a hurry with this project now, and its not an essential part, but is there a simple way to allow the users of a form to upload a photo from their machine like an attachment, but to have the photo display once uploaded, instead of just being an icon?

RE: Photo upload

Guess who ?

From a browser, the user cannot embed, so you have to provide for an alternate functionality if you want to display the data.

As far as I know, you have two possible solutions. The first is to use a special form with the Autolaunch property set to display first attachment. Unfortunately, that means that you'll have to provide for a view and a form that allows to edit the documents, and another view with the special form that allows to visualize the pictures. That said, it is not difficult to implement.

The other solution involves creating a special view used only to display documents with file attachments. That view should have its first column sorted on a unique value (i.e. the name of the file that is attached to the document). Then, you need to determine the URL to that file. It should be something like db_filepath/viewname/columnvalue/$file/fullfilename.
By clicking the URL, your users could then view the picture.

Pascal.

RE: Photo upload

(OP)
Ugh, sounds horribly complicated, and like it won't work properly anyway.

Thanks for the tip, will give it a try if some miracle happens that gives me more time!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close