Have a more informative filename/link for image opened in new tab from Reader?

Contributor
Joined
Jan 7, 2023
Messages
89
After reading a not so recent post about what blob:https means when opening images in new tab (thanks for the elaborate answers Tristan)
I wonder if its possible to somehow change the filename of the images instead of the default index.jpg/png

Right Now, this is what happens:
1. Open a random chapter. for the sake of an example, let's pick Ch 1 of this twitter webcomic https://mangadex.org/title/642bf922...d-man-who-was-reincarnated-as-a-cat?order=asc
2. When Ch 1 loads, choose the first image and right click to select "Open Image in New Tab"
3. Save image

What happens:
image is saved as index.jpg
If you copy the image instead, it has the image UUID as its filename (copy image -> paste in a discord chat -> check the filename)

Suggestion:
Instead of index.jpg, or uuid maybe it could be something more informative?
For Example:
maybe a format like $title-$chapterNumber-$chapterName-$pageNumber-$translatedLanguage-$imageUUID

In the above case,
Currently the new page looks like this: https://mangadex.org/dcd955cb-a0a3-4a84-b818-85521d08e2a8
Instead, it could be something like this: https://mangadex.org/the-old-man-wh...-PG-1-EN-dcd955cb-a0a3-4a84-b818-85521d08e2a8
 
Upvote 2
Joined
Feb 27, 2023
Messages
6
It would be so much easier for hundreds of people to find source of the manga if pages weren't saved as 07fcdc38-8b57-4f01-9352-7afde243cb69.png but Manga Title - Chapter Number - Page Number.png instead.

mod note: merged into thread
 
Last edited by a moderator:
Joined
Jun 22, 2024
Messages
1
Right clicking save image as names images "Untitled" which forces users to rename them manually.
Some websites use the hash of the image as the filename which would solve this issue.

mod note: merged into thread
 
Last edited by a moderator:
Dex-chan lover
Joined
Jan 20, 2018
Messages
1,054
Browser issue. Because blob doesn't inherit file name.

Devs actually can change it.
append("blob", blob, filename);

Won't help much since scanlators often don't name files properly.

mod note: merged into thread
 
Last edited by a moderator:

Users who are viewing this thread

Top