Meanwhile Lightbox mit PhotoSwipe exists for more than two years and has about 6000 active installations :-).
Compared to the original version I extended PhotoSwipe by a number of features:
- Endless loop is also possible with only two pictures.
- If the endless loop is not active the arrow buttons for next or previous image will be hidden for the first or last picture.
- Full screen view can be activated by pressing the key “F”.
- When changing pictures using the arrow buttons or cursor keys in the desktop view the change from one picture to the next is done using an animation similar to the swipe gesture in the mobile view.
In addition it is now also possible to display WordPress galleries or Gutenberg gallery blocks in their own lightbox.
The DNS query now also displays the content of CAA records (flags, tag and value).
Originally I created Lightbox with PhotoSwipe just to be able to use PhotoSwipe at all. In the beginning some features didn’t get used at all.
In the past I have used the plugin “Responsive Lightbox” for the enlarged display of pictures. Unfortunately, this solution had some weaknesses:
- No possibility to enlarge the picture view.
- Swipe gestures are quite “jerky” – you can see how the picture view follows the finger movement very slowly
In particular, I noticed the lack of the possibility of image magnification on another website, where I have seen people who have tried to enlarge individual images with the common two-finger gesture on their smartphones.
Recently WordPress 4.6 was released. Unfortunately there is a little error in the text editor: when you move down in content in the “text” view and then edit something it may happen that the view jumps back to the top.
This error is also documented in the Trac of WordPress and there is also a fix for it which will be used for the upcoming version 4.6.1.
In the past I also supported quite old software on my web site technically:
- Internet Explorer 8 (and older), which was published on March 5, 2008.
- Windows XP, whose official support has ended in April 2014 and which lacks support for SNI. Browsers running in Windows XP which don’t bring their own TLS implementation can not access my website using HTTPS (for example Chrome or Internet Explorer).
- Android 2 or older which also lacks the support for SNI.
Now it is August 2016. Windows XP and older versions of the Internet Explorer are obsolete and not widely used any longer. For example only 0.1% of the requests on my web site where using Internet Explorer 8. Older versions are practically non-existent. For Android 2 the situation is similar: less than 0.1%.
Therefore I decided to stop the support of this ancient software from now on. The web site now also uses HTTPS always (which means the browsers have to support SNI) and html5shiv is also not used any longer.
My example for WebGL was extended to handle touch events on smartphones and tablets.
At the moment only touches with one finger will be handled like click and drag using a mouse, so you can rotate the model with one finger. The recognition of gestures with two fingers for “pinch to zoom” is missing yet.
If you deal with WordPress you soon notice that static resources like style sheets or scripts get included with the parameter “ver”, as for example in the “Hemingway” theme:
If you then validate the website, as for example with Pingdom, the “ver” parameter will be treated as a problem for efficient caching since content delivered by URLs with parameters may not be stored in a cache but fetched from the original server for every single request.
On the other hand the version information is important for the correct function of themes and plugins, especially when they get updated – if you are an author in this area you should definitely pay attention to the note at the end of this post.
Yes, you may take content from my website for your own work under the conditions described in the imprint. But this does not mean that you can use the complete HTML documents without any change!
The Multicolumn Category Widget for WordPress now shows a placeholder text for the title in the configuration so you can see which default title will be used if you don’t enter a custom title.