AllAboutLearningPress / Photo-Storage-and-Gallery

Share photo assets with all users in an easy to use gallery with a powerful backend.
3 stars 2 forks source link

Placeholders while thumbnails are generated #32

Closed dyner closed 3 years ago

dyner commented 3 years ago

We can display the text "thumbnail is being generated".

andreyvolokitin commented 3 years ago

Can be avoided with techniques similar to LQIP / SQIP

AshrafAkon commented 3 years ago

the library we are using (pig.js) already uses a solid background placeholder while image is being loaded.

andreyvolokitin commented 3 years ago

Potentially can be useful in a single image view

AshrafAkon commented 3 years ago

@dyner its for the upload page right? Currently, I am displaying a loading gif while the thumbnail is being generated from backend. Do you think it would be better if we replace the loading gif with the above text?

dyner commented 3 years ago

@dyner its for the upload page right? Currently, I am displaying a loading gif while the thumbnail is being generated from backend. Do you think it would be better if we replace the loading gif with the above text?

Loading gif is okay for that purpose.

This placeholder for thumbnails was intended for in the gallery if for some reason generating thumbnails is delayed/unavailable in the backend.

AshrafAkon commented 3 years ago

The gallery has a solid background while thumbnails are loading. Also in the gallery, we are just linking to s3 objects using signed key. I believe the current placeholder would do its job. But if the user experince is different then please feel free to open this issue again.