By Mitko –
April 18, 2010Posted in: Featured, WP-Gallery2 
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.

Loading ...
VN:F [1.9.4_1102]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.4_1102]
Popularity: 7% [?]
-
WP-Gallery2 plugin loading galleries through AJAX
12 March 2010 2:54 PM |
No Comments
As of version 0.7, the WP-Gallery2 plugin can use AJAX calls to load the content of galleries. What this means is that the page can load faster and the user is presented with a screen before the gallery content has been retrieved from the Gallery2 [...]
-
Fancybox jQuery plugin added to WP-Gallery2 Plugin
25 March 2010 1:49 PM |
No Comments
It’s been a while since I’ve posted anything related to the WP-Gallery2 plugin but there hasn’t been much activity anyway. I’ve been busy trying to mod and tweak the new Arras 1.4.2 theme that I updated the site to.
Last weekend, I added the ability to [...]
-
Fruitless attempts at understanding CSS layouts
17 March 2010 4:44 PM |
No Comments
After working on the WP-Gallery2 plugin for some time, I got another idea for a plugin that I wanted to write, this time involving jQuery and some interesting effects. A big part of the plugin would be it’s layout and how the different elements are [...]
-
WP-Gallery2 Plugin up for download
09 March 2010 12:19 PM |
No Comments
The WP-Gallery2 plugin that I have been working on has reached a point where I am ready to put it up for download so anyone who may be interested can try it out. I still would like to mention that it is still only lightly [...]
-
Passing and receiving query variables
26 February 2010 8:05 PM |
No Comments
One thing that I knew I wanted to be able to do with this plugin is to mimic the behavior of any Gallery2 site – namely, the ability to show albums and images with thumbnails and the users being able to click on an album [...]