react-images icon indicating copy to clipboard operation
react-images copied to clipboard

It not auto show thumbnails

Open hieusmiths opened this issue 6 years ago • 4 comments

Steps to reproduce the behavior:

Expected behavior:

Actual behavior:

hieusmiths avatar Nov 25 '19 10:11 hieusmiths

Could you give some more detail? Link to a repo showing the issue?

davwheat avatar Nov 25 '19 11:11 davwheat

I suspect he is referring to the disappearance of the thumbnail panel at the bottom of the page that was present in previous versions. I came here looking for the same thing today as I've just gone through the process of migrating an application to use the new version of react-images and noticed it had disappeared as well.

The documentation for this current version defines the views property as

Array<{
 caption?: string | Node,
 source: string | {
   download?: string,
   fullscreen?: string,
   regular: string,
   thumbnail?: string,
 },
}>

but there is no explanation of how/when the thumbnail (or download and fullscreen) properties are used instead of the regular one.

web2wire avatar Nov 25 '19 13:11 web2wire

I had assumed that thumbnail was used in that thumbnail panel, fullscreen was used for the... fullscreen image, and download was for a download button, if desired.

To be honest, I haven't checked this as I only use regular.

davwheat avatar Nov 25 '19 16:11 davwheat

I just upgraded from 0.5.x to 1.1.x and also noticed the thumbnail gallery was missing from the carousel.

This is what it used to look like: image

This is what it looks like now: image

frolic avatar May 10 '20 02:05 frolic