Skip to content
LinkedIn LearningPhpFree courseIntermediate levelCertificate

PHP: Resizing and Watermarking Images

0.0

Created by: David Powers

Produced in 2016

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 0 / 100

icon
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.

icon
Instructor Details

David Powers has been developing websites since 1994 and writing books on web development since 2003.

He is an Adobe Community Professional and Adobe Certified Instructor for Dreamweaver. You'll often find him giving help and advice in the Dreamweaver forums and the Adobe Developer Center, to which he has contributed many popular tutorials and training videos. He also greatly enjoys traveling and taking photos. Visit his website at https://foundationphp.com/.

icon
More courses by David Powers

Free

Free

Free

Free

Free

Free

icon
More PHP courses

$11.99

Free

$64.99

$11.99

$13.99

$10.99

icon
Reviews

0.0

No reviews yet

No reviews yet. Be the first to review this course!