Why don't you use something like Activedit which has image uploading built in?
-----Original Message----- From: VAN VLIET, SCOTT E (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: Friday, 19 April 2002 10:50 a.m. To: CF-Talk Subject: Finding Images in HTML and Uploading Before I go any farther than I already have, I thought I should ask you folks if you have already seen this functionality, or know of a custom tag or UDF to do this: I have a client who wants to be able to post HTML to a content management site, and have the ability to upload the images he references in the code. This is essentially a nightmare, however I can up with an idea for the solution. Basically, when he saves the HTML, I want to search through the text that he has typed and find any <img> tags. Then, once I have the references to those images found in the text, I will bring the user to another form page, which will loop over the list of these found <img> tags and write a dynamically named <input type="image"> field for the corresponding image. Once the user selects and image for each found in the HTML text, I will then need to upload those images and change the <img> tags in the HTML text to reflect the names and location of the images uploaded, and return the modified HTML text to be saved to the database. WHEH! That sounds like so much fun! But, if any of you out there have any better ideas, please let me know. Thanks! Scott +--------------------------+---------------------------+ | SCOTT VAN VLIET | SBC SERVICES, INC. | | Senior Analyst | ITO Enterprise Tools | | Tel: 858.886.3878 | 7337 Trade St. Room 4000 | | Pgr: 858.536.0070 | San Diego, CA 92121 | | Email: [EMAIL PROTECTED] | http://www.sbc.com | +--------------------------+---------------------------+<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists