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

Thumbnails for book and author previews #19

Open
anishsheela opened this issue Oct 12, 2013 · 2 comments
Open

Thumbnails for book and author previews #19

anishsheela opened this issue Oct 12, 2013 · 2 comments

Comments

@anishsheela
Copy link
Member

Now, full images are on the thumbnails. Scaled down versions of images will make it faster.

@ershad
Copy link
Member

ershad commented Oct 12, 2013

We are currently using the scaled down version of images in thumbnails ('medium' - 300 X 300 [1][2]). Do you think we should reduce it again?

[1]

has_attached_file :image, styles: { large: "600x600>", medium: "300x300>", thumb: "100x100>" }, :default_url => "/book_cover_missing.png"

[2]
= image_tag book.covers.last.image.url(:medium), class: 'img-polaroid'

@anishsheela
Copy link
Member Author

I was asking about http://dev.grandham.org/authors page.

The first image takes a few seconds to load on my broadband. I thought it was because of large image used.

Also, if 100x100 is used for thumbnails, then no problem.

(http://dev.grandham.org//system/profile_pictures/images/000/000/002/original/drlrravivarma.jpg?1379606801)

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

2 participants