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

Serve PNG if file extension is not: png jpg jpeg gif #2

Merged
merged 1 commit into from
Sep 9, 2015

Conversation

choonkeat
Copy link
Owner

allows uploaded PDF to have PNG thumbnail instead of a broken image

choonkeat added a commit that referenced this pull request Sep 9, 2015
Serve PNG if file extension is not: png jpg jpeg gif
@choonkeat choonkeat merged commit b06cb68 into master Sep 9, 2015
@choonkeat choonkeat deleted the feature/pdf_thumbnail branch September 9, 2015 07:52
choonkeat added a commit that referenced this pull request Jan 17, 2016
- all non-image (including pdf; watch out #2) are rendered as a "polaroid"
- with filename as caption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant