-
- 58 Posts
Just wondered how others were handling image resizing in articles?
I've used phpthumbof fairly extensively where images are shown in specific locations, at pre-determined sizes. For example, resizing a banner image for different css media queries (viewport sizes).
But that's not really possible in an article where a user could upload an image to to a media source and include it in an article or post. I know you can set px width and height in the tinyMCE image insert dialogue, but that's only the client side sizing. Obviously, if the user uploads a 2mb image (ok.. 5mb image?) from their camera, and inserts it in an article, it's going to ruin page load time.
I'm sure it's a fairly common problem, I thought there would be a well used and celebrated plugin to handle this.. but I don't seem to be able to work out how everyone handles this issue?
I noticed the autoFixImageSize addon, but it doesn't really come highly recommended in the thread about it on this forum. It seems like most users had either performance issue, resource spikes, or errors.
So is there something I'm missing? Is there a commonly used plugin for this? Is there some workaround other than capping max_upload_size?