> Hi guys im trying to create a system where the user has a list of > products and they also have the facility of adding a picture of the > product to its details. i have got everything working apart from the > image upload section. my old upload code requires the user to open a > new window and then select the image from a FileField and it then > passes this onto another page where the image is uploaded and the > image name and extension is added to the database. > > What i was looking to know if there is an easier way to do this from > the details page?? > > Thanks
Just add the filefield to the detail page, and continue with the logic of the image uploading/database entry that is already in place. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4