A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 4: Plug-in 17 - Image Display

Here's a plug-in that will output any GIF, JPEG or PNG image and, if it's a JPEG or PNG, at whatever quality you choose to achieve the optimum balance between bandwidth use and image quality.

The Figure shows a JPEG image displayed by a PHP program, at the default quality setting of 75.