-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there image preload? #15
Comments
It's there, just not working properly it seems. GelbooruEnhancement/GelbooruImageViewer.user.js Lines 195 to 200 in 0f72e24
GelbooruEnhancement/GelbooruImageViewer.user.js Lines 1213 to 1231 in 0f72e24
If there was a way to bypass the CORS policy something like this to explicitly put urls in cache would probably work for firefox:
Yet I'm not sure where the lag I see comes from. Is it downloading again, or is just lag from loading the blob in the data tag of the image? If the lag is from actually loading the blob, maybe the gallery can be changed so that all the images are loaded at first in their own img tag and navigation is done by setting css |
Sorry, just saw this. So.... I'm unclear what I should try? How can I help you get preloading working? |
Basically it's bugged due to browser updates. If you can, you could implement the alterations to the loading mechanism to show the images from the src tag and update that with the full res url before showing the next pic in the gallery instead of default preloading logic. I have not much experience with userscript api.... |
Technically the img solution works. I tried to implement a fix (with r34xxx in mind) but I have no idea how to get the proper full-size file extension without downloading the pages. For example thumbnail is |
Can a preload of the images be implemented somehow? They take quite a while to load.
The text was updated successfully, but these errors were encountered: