Hello All,
I am developing a form where the user will add details about a person.At the end there would be a button called "Add Photo" when the user clicks the button the add files dialogue will open. The user can browse through the photo and can add the Photo.The max size limited should be 700 KB.After the user has added the photo the photo would be shown as a thumb nail view. Also the user can change the photo later on .I am also thinking about : If the user clicks on the photo it would be displayed in its original size and one close button will appear on the bigger photo on the top right hand side corner.If the user clicks it then the photo will become thumb nail view once again. Is it possible to design in LiveCycle Designer 8.2 or am being too optimistic ?
Thanks.
Bibhu.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Bibhu,
Here is an example:
https://acrobat.com/#d=jTxbDqy4gH9r2oALyXQQhQ
Check out the script in the layout_ready event of the larger image.
Good luck,
Niall
Views
Replies
Total Likes
Hi Bibhu,
The closest I think you will get to it is to use an imageField object for the thumbnail. The user would click this to add their image.
Then a separate button would show/hide a subform that contains an image object with larger dimensions. This image object would access the value of the imageField, so as to show the thumbnail at a larger scale.
There are a couple of image manipulation examples here: http://www.assuredynamics.com/index.php/code-solutions/image-solutions/
Good luck,
Niall
Views
Replies
Total Likes
Hello Niall,
Thanks for thr link. But I did not find out how to add an image. Could you please explain a bit more ?
Thanks.
Bibhu.
Views
Replies
Total Likes
Hi,
I have an example form with a limitation script for image fields.
http://thelivecycle.blogspot.com/2009/10/check-image-size-before-import-image.html
Hi Bibhu,
Here is an example:
https://acrobat.com/#d=jTxbDqy4gH9r2oALyXQQhQ
Check out the script in the layout_ready event of the larger image.
Good luck,
Niall
Views
Replies
Total Likes
Thank You both Radzmar and Niall. It solved my problem.
Thanks.
Bibhu
Views
Replies
Total Likes
Views
Likes
Replies