image-picka icon indicating copy to clipboard operation
image-picka copied to clipboard

[Feature request] Option to exclude images from loading

Open yfdyh000 opened this issue 2 years ago • 5 comments

This is an idea and advanced option feature for discussion. When user to bulk interact with a familiar site, useless common images are preloaded and excluded (unchecked) through size and URL filter, so it's wasteful for users to wait for all new large images to be reloaded, rendered to the browser and checked by default.

yfdyh000 avatar Feb 16 '22 16:02 yfdyh000

Similar to #271. Though the transform URL trick works, I think it will be better to have a separated list?

eight04 avatar Feb 16 '22 18:02 eight04

A blacklist is interesting, but I haven't yet thought of a good way to manage them. In this issue, I envision an operating mode that adding the not loaded images to the downloads queue while Save button clicked, treat them as checked by user.

yfdyh000 avatar Feb 16 '22 18:02 yfdyh000

In this issue, I envision an operating mode that adding the not loaded images to the downloads queue while Save button clicked, treat them as checked by user.

What do you mean? You want to download images that failed to load? Or you want to download images that are still loading?

eight04 avatar Feb 16 '22 19:02 eight04

What do you mean? You want to download images that failed to load? Or you want to download images that are still loading?

Latter, since some image hosting sites are slow or bulky pictures for the picka, and I intend to download all the pictures. I've tried to do it but see that filename will be null. Guessing the file name from the URLs is available to certain sites's urls or naming conventions (like [index].ext) only. Using HTTP HEAD might alleviate it, but the schema need to adjust, the HEAD reqs & naming when saving in bulk, or preload filenames in the picka viewer. It will advance the filesize filter, but it is less important, and real URLs and filenames filters, but I don't see them present. All in all, it looks like an image URLs crawling, previewing, and bulk download request tool, but with less assurance. This may not be worth it and uncommon, so no rush. A downloader extension seems to be better suited to this need, even if they don't have images viewer on a page.

yfdyh000 avatar Feb 18 '22 00:02 yfdyh000

You may want to open another issue for that.

The current picker wasn't designed for background crawling so we may have to rewrite the image loading logic to make it work in background.

eight04 avatar Feb 18 '22 09:02 eight04