photo auto-resizing hack
-
Hi,
I made up a simple auto image resizing hack.
This code requires ImageMagick installed on your server.
What it does:
If you upload a JPEG image that is greater than 600 pixels wide (or whatever width you choose) this will automatically resize the image. Additionally it will jpeg compress the image (to the jpeg compression setting you choose) and it will add the image width/height into the tag for you.
It makes changes only to the file /wp-admin/b2upload.php
Here’s some directions/source:
https://www.ideacog.net/wordpress
This code most likely works with PNG and GIF images as well, I just haven’t tried it.
Feel free to post feedback, etc.
Good luck,
Ben
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘photo auto-resizing hack’ is closed to new replies.