06-27 Redesign your blog without resizing pictures
This is more of an idea than an actual implementation – in fact I haven't had time for a proof of concept but I'm pretty sure it'd work. Whether or not it's actually a good idea is a different story.
The problem: Designers, and other people too, tend to redesign their blogs periodically. In the case of designers, it might even happen on a whim. When I go into Photoshop or more commonly Snipshot (neat tool) to resize an image for my blog posts, I have to constantly re-reference what size my blog currently is. Now, I have the overflow hidden with CSS, so my layout will never break, and I haven't redesigned in ages, but still it's an issue for me. What if I could upload any (reasonably close) image and my blog would crop it to size? That might be better than the pixely resize. It worked on Engadget while they were briefly doing it, but that was a scaling resize. What if my picture gets stuck at a horrible 1/3 type ratio? so the crop it is.
The script would (will?):
The problem: Designers, and other people too, tend to redesign their blogs periodically. In the case of designers, it might even happen on a whim. When I go into Photoshop or more commonly Snipshot (neat tool) to resize an image for my blog posts, I have to constantly re-reference what size my blog currently is. Now, I have the overflow hidden with CSS, so my layout will never break, and I haven't redesigned in ages, but still it's an issue for me. What if I could upload any (reasonably close) image and my blog would crop it to size? That might be better than the pixely resize. It worked on Engadget while they were briefly doing it, but that was a scaling resize. What if my picture gets stuck at a horrible 1/3 type ratio? so the crop it is.
The script would (will?):
- load up on page load
- take all the images of a certain class (or within posts, whatever) and box them in a div
- strip them out of said div
- re-add them as background images.
Read comments on your right →