Quality Score
Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/
Overall Score : 0 / 100
Course Description
Modern websites need to serve high-resolution images to avoid pixelation and blurring on high-pixel-density displays, but at a file size that loads quickly, even on mobile devices. This course shows how to use the GD functions in PHP to resize images and add an optional watermark to them. Author David Powers demonstrates how to calculate the correct scaling ratio by automatically measuring the dimensions and detecting the orientation of a JPEG image. He also explains how to add a watermark using text or, for a more polished result, an image blended with an alpha channel. All the techniques covered are completely nondestructive.
Chapter 2 pulls everything together, using a custom PHP class that can batch process multiple images, automatically detect the correct MIME type, generate custom sizes, and add an optional watermark.
Chapter 2 pulls everything together, using a custom PHP class that can batch process multiple images, automatically detect the correct MIME type, generate custom sizes, and add an optional watermark.
More courses by David Powers
More PHP courses
Basic PHP Development with Bootstrap, GitHub and Heroku (2022)
4.8 (447 Reviews)
Provider: Udemy
Time: 4.8h
Free
Sending email with PHP: from Basic to Advanced (2026)
4.8 (297 Reviews)
Provider: Udemy
Time: 2.1h
$64.99
Write PHP Like a Pro: Build a PHP MVC Framework From Scratch (2026)
4.7 (3,332 Reviews)
Provider: Udemy
Time: 6.7h
$13.99
Reviews
Showing 5-star reviews only
No reviews yet. Be the first to review this course!
Showing all 0 reviews
Could not load more reviews.












