Skip to content
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

Preload Images #3

Closed
ghost opened this issue Dec 9, 2017 · 5 comments
Closed

Preload Images #3

ghost opened this issue Dec 9, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 9, 2017

Would it be possible to add preloading 5 images before and after the current image? And navigating via AJAX for instant page change?(I have no idea what I'm talking about and just typed the description of this script which does the above for Ex among other sites.

@Difegue
Copy link
Owner

Difegue commented Dec 9, 2017

While this is certainly doable in the current architecture (The software extracts everything from an archive as soon as it's opened for fast access), I'm not really seeing the benefits one'd get from basically switching the reader from a series of HTML pages to a all-in-one JS page.

Keeping this as enhancement for now, but you might want to ask the creator of the webcomic reader script to add support to LANraragi-powered pages.

@ghost
Copy link
Author

ghost commented Dec 9, 2017

I'll try asking.
Anyhow the only benefit I could give you is speed. LANraragi loads a new page in about a second while the script will switch images instantaneously. Do give the script a go and see for yourself.

@Difegue
Copy link
Owner

Difegue commented Dec 17, 2017

The reader improvements planned for the next release will include this, as well as a thumbnail preview of the entire archive(been wanting to do this for a while!) and saving the last page read in browser storage (for picking back up where you left).

I've started work on converting the whole shebang to full-JS, and it is way faster.

@ghost
Copy link
Author

ghost commented Dec 18, 2017

Awesome, Now I'm really looking forward to the next update.

@Difegue
Copy link
Owner

Difegue commented Dec 24, 2017

Done as of the last few commits. Gonna try getting 0.4 out before the end of the year.

@Difegue Difegue closed this as completed Dec 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant