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

Add images to the publications #61

Closed
edwardabraham opened this issue Sep 21, 2015 · 1 comment
Closed

Add images to the publications #61

edwardabraham opened this issue Sep 21, 2015 · 1 comment

Comments

@edwardabraham
Copy link
Member

We can use the image pipeline to make teaser images for the publications. These could be used on the publications page, and in the summary page, to make the page a bit more interesting.

Here is a commandline example:
convert -density 100 content/publications/pdf/waugh_stirring_2008.pdf -resize 256x256^ -crop 256x256+0+0 ~/Desktop/waugh_stirring_2008.png

This could be integrated into the image processing pipeline in Site.hs. However, at the moment there is no way to change the output format of the processed files. We need the output format to be a png.

It would also be simpler if all the pdfs had the publication key for their filename. The pdf parameter would not then be needed in the YAML as it could be derived from the key. This would make the logic for finding the PNGs easier.

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant