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

Allow for captions #379

Open
simsong opened this issue Dec 29, 2019 · 4 comments
Open

Allow for captions #379

simsong opened this issue Dec 29, 2019 · 4 comments

Comments

@simsong
Copy link

@simsong simsong commented Dec 29, 2019

It would be great to have captions for the images appear on the gallery. Captions could be provided by either a .txt file with the same basename as the .jpg, or else embedded in the EXIF.

@saimn

This comment has been minimized.

Copy link
Owner

@saimn saimn commented Dec 31, 2019

That's already possible (http://sigal.saimon.org/en/latest/image_information.html), though maybe not supported by default by all themes. For the use of EXIF metadata in particular you may have to customize the theme's template files.

@simsong

This comment has been minimized.

Copy link
Author

@simsong simsong commented Jan 1, 2020

I'm trying to get it to work. It is hard to find because a search for "caption" on the signal website turns up nothing. The web page you pointed me at does not make it obvious how to enable captions. I'm working on it...

@simsong

This comment has been minimized.

Copy link
Author

@simsong simsong commented Jan 1, 2020

When you say customize the theme's template files, do you mean in the source code? Is there a way to simply overrride the themes?

@saimn

This comment has been minimized.

Copy link
Owner

@saimn saimn commented Jan 4, 2020

Yes the documentation about the themes could be improved... A lot about the available attributes is described directly by the API docs (http://sigal.saimon.org/en/latest/themes.html#documentation-of-sigal-s-main-classes). And to override the themes you need to copy the theme directory locally. You can specify the path to your local theme in the settings file or on the command line.

saimn added a commit that referenced this issue Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.