dancerfly / django-brambling

Event website manager, specifically designed for dance weekends or other events with multiple simultaneous tracks of classes.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Use smaller version of dancers for emails #527

Open melinath opened 9 years ago

melinath commented 9 years ago

Right now, we're sending a roughly 3000 x 900 gif of dancers over the wire. While that does work, it's a little slow to load and just generally way heavier than we need it to be. The email template is 580px wide; I think we would want to make it somewhat larger for retina displays or something? (See Zurb Ink's docs on the subject).

But in any case, even if we dropped it down to 1000 x 300, that would be SO much better as a starting point.

melinath commented 9 years ago

This could be via daguerre or just resize.

nmorduch commented 9 years ago

580 * 1.5 = 870 would be fine

nmorduch commented 9 years ago

Also, does not need to be a gif when it doesn't need a transparent background. I could re-export it.

nmorduch commented 9 years ago

i mean reëxport lololol

harrislapiroff commented 9 years ago

I mentioned this in channel, but GIF is probably the best format for this image, even if it doesn't need a transparent background.

melinath commented 9 years ago

The biggest issue is that gif doesn't handle partial transparency, which we might need to maintain crispness at smaller sizes.

melinath commented 9 years ago

... though this file is only 408 kb so maybe this ticket is just superfluous.

melinath commented 9 years ago

Just for kicks, tried this out. A 1000px wide version in png saves about 1kb. A 576 png version saves ~250kb. A 1000px wide version in gif saves 300kb and doesn't look awful, so maybe we should just go with that? all-dancers2

melinath commented 9 years ago

Actually, I take it back, that does look a little grainy around the edges.