Comment #3 on issue 7849 by dhhwai: Dragging files to desktop will get a wrong file name http://code.google.com/p/chromium/issues/detail?id=7849
Yes, it seems like the "alt" text becomes the dropped filename.... which is quite simply the wrong thing to do! And this also applies to the "title" attribute in case the <img> tag has a "title" attribute. Do *not* use either of these attribute values for the dropped filename no matter if they exist or not. And this applies no matter if the loaded resource is a simple filename or a complex request query. For example: someimage.jpg someimage.jpg?parm1=val1&parm2=val2 somescript.php?parm1=val1&parm2=val2 (that returns something that is an image MIME type) all should the dropped with their _resource names_. In the second and third cases above, it will probably result in a generated filename without the proper extension and not directly openable in the OS, but that is _to be expected_. Regardless, you cannot use any of the "alt" or "title" values to generate the dropped filename. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
