close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User Profile With Picture Thumbnail

Thread began 9/06/2012 5:33 pm by tolushayoo193471 | Last modified 11/13/2014 9:24 am by Jason Byrnes | 2251 views | 15 replies |

tolushayoo193471

User Profile With Picture Thumbnail

Hi
Please am trying to create user profile with their picture thunmbail. I've done everything it's just the picture section that I dont know how to go about it. Basically I have about 20 users which I want them to add their picture with their profile when they are registering on my site. I was able to use dataasist to do the insertion and updating form which works ok, it's just the picture area that is left. I have digital file pro 2 but i dont know how i can achieve this with data assist. And also my search page is working but i want to be able to search for a user and his/her picture should show up on the result page along with the data. Please kindly help me to look into this.
thanks and God bless

Sign in to reply to this post

tolushayoo193471

not to worry. sorted.
thanks

Sign in to reply to this post

tolushayoo193471

Hi, Am creating user profile with picture thumbnail I've created this the dataassist and digital file pro every is fine apart from the update page. When I click on the update page to update data, and i click on update, by the time it get to the detail page, the picture thumbnail that was there before updating the page will disappear, is there a way that when i update it doesn't affect the picture thumb that was there. For example staffA data is completed with photo, I went back to the update page to change staffA email address after updating the picture of staffA should be retain since I didnt update it. Please is this possible?
thanks

Sign in to reply to this post

Jason ByrnesWebAssist

add a hidden element to your update form. bind the initial value of the hidden element to the image column from the recordset on the update page so that the hidden element contains the file name that exists in the database.

In the upload behavior, bind the Default File setting to the hidden form element.

Sign in to reply to this post

tolushayoo193471

thanks. I have an hidden element on the upload page (Picturethum) which i bind with image column as well as the upload behaviour as suggested but the image still disappear.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page.

Sign in to reply to this post

tolushayoo193471

thanks, please find the attached update page

Attached Files
New folder.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have bound the default file option to the pictureid file field, it should be bound to the Picturethum hidden form element instead

Sign in to reply to this post

tolushayoo193471

thanks, I've bind it with Picturethum hidden form. am still getting the same result

<?php echo((isset($_POST["Picturethum"]))?$_POST["Picturethum"]:"") ?>

Sign in to reply to this post

Jason ByrnesWebAssist

need to see the most current copy of your page.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...