This recipe discusses optimizing Galleria by using various methods that help to improve the performance of Galleria.
Since this recipe is just discussing various techniques to improve the performance of Galleria, we'll not use a specific example to walk through. The following techniques can be applied to any of the galleries created throughout the book.
For images deployed to a website, always use sizes complementary to the size of the gallery. If the image is drastically larger than the gallery, a visitor to the site will be downloading larger images than what is necessary and this can slow down the performance.
Always provide thumbnails for galleries as we've done so far in ...