whether there are tests that can help us make sure we don’t break stuff when we make changesĪlso note that since this is about possibly including this feature in XS, we need a compatible license and for example, GPL is not going to work.how easy it is to read the code and be able to modify it.Thus, it seems we’ll need to pick a framework based on 2 criteria mostly: It’s going to be hard to pick one for which we can have a good likelihood that it’ll still be supported, in, 1 or 2 years from now. with more than 20 commits over the past 6 months, that’s roughly one commit per week which is the low end to what we could call active IMO).įrom a quick look these projects seem to be a one-man effort mostly with several not active for several months. number of active committers for the past 6 months (e.g.number of releases across 2 years and mean # of releases per year for 20.Would be nice if you could indicate the following info: specifies browser and mobile support (v5-beta works only on modern browsers).as Manuel mentioned, there is a better v5-beta which is currently developed ( demos).maven (not up to date): : lightgallery - maven + code for add to pom.xml | JarCasting.GPLv3 license for open source projects (is commercial otherwise Pricing - lightGallery ).good documentation, multiple customization options.Based on it I restarted my search for a plain JavaScript library which could meet the needs of this feature, being also recently maintained. It seems it meets the requirements, being also easy to customize and with a detailed documentation (I did not found information about browser support). As a plus, it also has the possibility to zoom in/out using the mouse wheel, which is a nice feature.Īnother nice library is Vue cool lightbox, which is not a jQuery library.This project has recent commits and it is inspired by fancybox. It has a detailed documentation with many options for easy customization. License: GPLv3 for personal or open source projects with GPLv3 licenseĬompared to the others, this is the only that is recently maintained, with the latest release in September. The documentation is detailed and it offers multiple options for customization. I also find the possibility to zoom in/out using the mouse wheel a nice feature. A downside is that, for now, it is not compatible with jQuery v3.0/3.1, which could be a problem in case we upgrade it.Īs a plus compared to the first 2 libraries, this has the possibility to display thumbnails at the bottom, for easy navigation between images. It should also be considered that is also a more recent project (2019). This project does not have really recent changes, but the latest release is however from January 2021. It also lacks the possibility to display thumbnails at the bottom for easy navigation between images. I find it similar to fancybox as it offers the same base functionalities, but with a larger group of options for customization. Although, it is a stable product with really nice and detailed documentation. License: GPLv3 for all open source applicationsĪs in the case of fancybox, the library seems to not be maintained anymore, as the last release was in 2016. What I think is missing in terms of ui, is the possibility to see the current and next images as thumbnails at the bottom (feature that was added in v4). The only problem with this is that v3 doesn’t seems to be maintained anymore. Only the old v3 can be used, which is the same as in the Fancybox macro, since the new Fancybox ui has a different licence and it cannot be used. I didn’t go into too much detail about some functionalities, since all the libraries have them (they load fast, have mobile, video support and zoom effect, with the ability to customize the displayed image in order to add other elements), with only some differences that could be seen from the demos or I specify them.ĭifferences could come from the fact that some are no longer maintained or the documentation is not that detailed. The task refers to the possibility to click on an image and have it opened in a lightbox (gallery view), with different information (name, date of creation, captions, button for download…) and the ability to navigate through the other images in the page (and maybe to filter in a way the selected images).Īs a first step, I tried to analyse multiple JS libraries that could be suitable for this usecase and I would like your input for what would be a better choice. I started to work on one of the Image improvements proposed here Improvements for images in XWiki.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |