Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display exif and user sourced data per photo #279

Open
RayLover opened this issue Jan 17, 2022 · 5 comments
Open

Display exif and user sourced data per photo #279

RayLover opened this issue Jan 17, 2022 · 5 comments
Labels
enhancement New feature or functionality

Comments

@RayLover
Copy link

RayLover commented Jan 17, 2022

Display exif and user sourced data

Boys!

First of all, I'm impressed. This piece of SW is just excellent!

I've been in search for a photo gallery for my self-hosted website since ages.
Used Gallery3 for a while, but on my QNAP TS-419P it was awfully slow, in particular, when adding 1000+ photos at once ... breaking down, getting corrupt, ...
Since my QNAP got hacked at least 3 times during less that 10 years, lastly a ransomeware getting in, encrypting millions of files and asking €500 for the key, I took the box off the web, ordered an RPi 4B and started to look for a photo gallery SW.
Dozens of packages out there, often a big, complex stuff, needing linux experts to get it up and running and requiring extensive time investments to be able to use it & maintain it.
Despite I finally downselected to two, I failed to install and get up any of them. I'm less than a beginner in linux.

I'm a minimalist and started to look for a simple minimalistic, static solution - a gallery generator.
One day I came across thumbsup I realised in less than seconds - that's it!
A remarkable day!

I LOVE IT!

Even for 1000+ photos in a single directory, the webpage shows incredibly fast even when served from this tiny Raspberry Pi - incredible!

--- END OF MY STORY, THANKSGIVING, DESERVED CONGRATULATIONS

Feedback / ideas for enhancements:

1/fix: (i)"Image information" shows the file name only, despite the photos contain it all. It would be great of you could extract and include in the "Image Information" some of the information like Date created, Camera model, Lens, Exposure time, FNumber, Focal length in 35mm, ISO Setting, Creator, ...

2/new: it would be great if you could enable reading a kind of <photo-file-name>.individual file per photo (if exists) to extract e.g. Title, Location to give a photographer/presenter of the photos a chance to customise the "Image information" per photo.

Maybe 1+2 could be solved like generating a standardised .xml per photo (during the batch run) containing exif data, and (if exists) integrating information sourced from a kind of <photo-file-name>.individual file, where user could place additional data. When a file named 0.individual is placed in a directory, data will be used for all photos of the source directory unless <photo-file-name>.individual file exists - than this file/data prevails for the specific photo.
You might consider the same logic for setting a Title for albums to override the current directory-name.

3/fix: I use the --theme cards (I love this simple design!). When you watch a gallery on iPhone, the second line on top (showing the gallery path) will proportionally become larger when rotated by 90° compared to the Title (1st line) and to the size of the thumbs. Except for the Home (when displaying the Home page). It is a small thing, but if you know where to look to get this fixed, some of us minimalists+perfectionists might be very thankful for this tiny improvement.

4/new: give me a parameter like --center, which will make any contents below the line (<hr> under the 2nd path line) and footer centered (just as <center> does) within the displayed page => equal margins right and left. While typing this idea here, I consider, maybe it should be simply all centered, incl. the top Title down to footer. This feature/parameter might be a good option when author expects mainly viewing on mobile devices.

@RayLover RayLover added the enhancement New feature or functionality label Jan 17, 2022
@uglow
Copy link

uglow commented Jan 21, 2022

Hi @RayLover ,

Regarding 1), there is an --embed-exif option available which shows up in the detail-view of the image (press the "i" button)

Cheers, Brett

@RayLover
Copy link
Author

RayLover commented Jan 21, 2022

Hi Brett,

awesome!!! You made my day, it works!!! Wawww! What a great feature.

│ Gallery generated successfully!
│ 216 albums, 74703 photos, 0 videos

But it remains a big secret - when I follow your above link, I can't find the parameter --embed-exif listed in the referenced section "Configuration | Website settings" of the documentation - would be great to update this page, as you might make a days of hundreds of other enthusiasts.

Yes, I discovered the (i) button earlier, it has been showing the file name only, but NOW, it shows it nearly all!
Thank you!!! 😎👍
RayLover

@RayLover RayLover reopened this Jan 21, 2022
@uglow
Copy link

uglow commented Jan 21, 2022

Apologies - here is the right link: https://thumbsup.github.io/docs/3-configuration/cheat-sheet/

i incorrectly assumed that all of the Website options were documented on the previous link, but they are not.

@RayLover
Copy link
Author

Hi Brett, I've just opened one of the generated html files in an editor and manually filled in the data-lens="" -> data-lens="24.0-70.0 mm f/2.8" just for test purpose. When I display this html in a browser, the (i) information does not show the value of the data-lens field. Is there a way to correct this?
All my original photos carry the lens exif information and it would be great, if thumbsup could transfer it from the photo files to the html and html would get enabled to displaying it.
Otherwise I keep on enjoying thumbsup a lot! Great stuff! Thank you.

@uglow
Copy link

uglow commented Jan 31, 2022

@RayLover I'm not sure why it doesn't show. I am a fellow-user like yourself! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or functionality
Projects
None yet
Development

No branches or pull requests

2 participants