On May 2, 2006, at 7:10 PM, John Tsombakos wrote:
Hi,
I just tried dragging several selected image files from a Finder window into an HTML document, and the code it generates is very incorrect:
<img src="/Users/john/Pictures/P1010012.JPG" width="1024" height="768" alt="<img src="/Users/john/Pictures/P1010013.JPG" width="1024" height="768" alt="P1010013" />" />
It looks like it's putting the second image tag into the placeholder for the alt attribute. Dragging more will continue the problem over and over.
Inside the HTML bundle you will find a "drag command" titled: "Insert Image With dimensions". This command inserts as snippet with a couple of placeholders, and it gets called when an image is dragged, provided it has extension png,jpg,jpeg or gif. When more than one images are being dragged, it looks like they are treated sequentially, hence the text for the second is inserted exactly where the first placeholder is for the first, and so on. The simple answer I see is to modify that command in your case, so that it just inserts some text, without placeholders for the alt attribute.
Is this a known problem?
Thanks!
jt
Haris