waschinski / photo-stream

Self-hosted, super simple photo stream
https://github.com/waschinski/photo-stream
MIT License
448 stars 68 forks source link

Feature Request: Any kind of text upon clicking an image #41

Open l1mey112 opened 1 year ago

l1mey112 commented 1 year ago

Any text upon clicking an image, even a tiny text box would suffice. This project is perfect for me as I am trying to replace Instagram, but I usually include some text underneath images talking about my workflow.

Not having the option to include text with images is a unfortunately deal breaker, I would love to see this project with them!

waschinski commented 1 year ago

Hi, glad to hear you like photo-stream so much! That's a really great idea that has been floating in my head before too, I just didn't come up with a good way to provide said text and how to map it to the corresponding image. Do you have an idea?

A csv/json/whatever file that contains the text next to the image name would probably not be very convenient with many images in the folder...

boerniee commented 1 year ago

Hello @l1mey112,

would it be suitable for you to put the title in the EXIF informations of the image? As this project should be as simple as possible, I think it would not be a good idea to store it in a separate file or Database. If it would be suitable for you, we can check if it is possible to read out the description and display it with the image. 🙂

ckuethe commented 1 year ago

Using exif info would be awesome for my use case.

ckuethe commented 1 year ago

Thinking about some possible UI, here are three ideas:

See https://exiv2.org/tags.html and https://exiftool.org/TagNames/EXIF.html for detailed descriptions of the tags.

nicosomb commented 1 year ago

Hello,

thank you for this great tool. Maybe data can be stored in a yaml file named like the picture file.

nicosomb commented 1 year ago

I tried to play with exif and here is the result: https://instantanes.loeuillet.org/poste-de-travail

For some pictures, the display is buggy, but I think that using exif could be indeed the right way to display data.