Using more AJAX calls for WP-Gallery2 pages

wp_gallery_thumbnail

Some time ago, I added a feature to the WP-Gallery2 plugin which would allow the plugin to load the galleries and images on a page through AJAX calls. The reason behind the feature was that I wanted the user to be presented with the page as soon as possible, instead of waiting until all the images were loaded.

For the most part, this layout and method is working out well enought. However, recently, I have been thinking that what is currently happening is not a complete solution. As nice as it is to be able to present the page to the user while the albums and images are loading in the background, switching between the image pages or albums still requres a page reload.

This problem lead me to the idea that if the plugin uses AJAX, it should be implementing a complete solution and be able to load things in the background so the user never has to reload a different page. This, of course, is a great idea but implementing it is a different proposition. Loading the next page of images or the sub-albums is easy enough because the sections that they are presented in are already on the page. However, the difficult part would be changing the layout when one of the sections in not currently displayed and it needs to show up.

Currently, I am in the process of coming up with the new layout that would allow for the gracefull handling of the situation described above. Unfortunately, it looks like this will be a pretty big change to how things are structured now. As such, it would be nice to get some input from the users who use the plugin. Below, I’ve posted a poll, so you can weight in on the subject.

Does the current WP-Gallery2 layout and AJAX work OK?

View Results

Loading ... Loading ...
VN:F [1.9.4_1102]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.4_1102]
Rating: 0 (from 0 votes)

Popularity: 7% [?]