cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Filename when drag and drop

halmai
Making moves

There is a website from which I want to save ~20-40 images every evening. The page shows small thumbnails, therefore, I cretaed a short JS code which opens each image in their own tab so that I can observe each, close the ones I don't need and save the ones I do.

The URL of an image looks like this:

https://media.storypark-cdn.com/media/story_v2/3223736/story_image_v2_c3450c29-681f-4313-8878-45837a...

When I drag-and-drop this image from FF into File Explorer then every image is saved as 640_wide.jpg. Because of this name collision, I need to rename them individually, which is quite annoying.

If I drag-and-drop the same image from Chromium, Edge or Vivaldi then I get the full unique name, added the .jpg extension, eg. story_image_v2_c3450c29-681f-4313-8878-45837a69dad4_640_wide.jpg.

Why does FF convert the unique names into the same short name? How could I turn this feature off and save them by their original long name?

Note: I checked the Response header of these files thinkig the server may suggest the short name but there is nothing like that in the header. I also tried to create a random image on a different web server with the same long filename and I opened with adding the extra GET parameters. If I drag that image into the Explorer then the long name is preserved, there is no name shortening.

How does this work? Where does FF take it from what name to use when drag-and-drop into Windos Explorer/Total Commander/...?

 

0 REPLIES 0