Posts Tagged ‘images’

Automatically Resize Large Images with Javascript

Sunday, May 24th, 2009

When you allow users to submit content, and allow that content to include images, there’s always a chance that some user will submit a really large image that will break your layout. One way to solve that is to check the content for large images and resize them using a server-side program. However, sometimes, that is simply not possible. In those cases, we use what’s left- Javascript. (more…)