react-lightbox-component
react-lightbox-component copied to clipboard
there is no prop for small size thumbnails on gallery view
There is an official way to use the small thumbnail in a gallery and high-quality image when opened But unfortunately, it's not documented.
Go to the bottom of this code, there you will find thumbnail parameter https://github.com/jfcaiceo/react-lightbox-component/blob/master/src/lib/components/Lightbox.jsx
This is how i use it
filter(props.list, function(each) {
image_list.push({
src : high_quality+each.file_path,
title: ' ',
description: ' ',
thumbnail : thumbnail+each.file_path
});
});