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

locationHash doesn't work for albums deeper than 1 level #98

Open
EelcoA opened this issue Nov 9, 2015 · 0 comments
Open

locationHash doesn't work for albums deeper than 1 level #98

EelcoA opened this issue Nov 9, 2015 · 0 comments

Comments

@EelcoA
Copy link

EelcoA commented Nov 9, 2015

With the current software, the main gallery and the first level albums have working URL's. But when you go deeper, the URL's don't work anymore.

My proposal:
In ProcessLocationHash, inspect the url, check if it goes more than 1 level deep. If it does, load the album thumbnails into the cache, so that the albumID can be found by OpenItem. This can have a performance issue when going very deep into the hierarchy or when albums are very big, but with the current setup this is the easiest solution. It works at my local site now. I had to use jQuery. ajax with async false, because the buildup of the page has to wait until the cache has been loaded.

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

2 participants