Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

PHP: Resizing and Watermarking Images

via LinkedIn Learning

This course may be unavailable.

Overview

Coursera Plus Annual Sale:
All Certificates & Courses 50% Off!
Grab it
Learn how to batch process images with the PHP GD functions. Watermark photos and generate different sizes ready for use in responsive web design.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Image Processing with GD
  • Introducing the GD extension
  • Scaling an image with imagescale()
  • Getting an image's dimensions and MIME type
  • Resizing an image with imagecopyresampled()
  • Adding a text watermark
  • Adding an image watermark
  • Correcting an image's orientation
  • Checking the MIME type and dimensions of a WebP image
  • Converting to a different image format
2. Batch Processing Images
  • Project overview
  • Setting up the class definition
  • Checking source images and orientation
  • Setting output sizes and quality
  • Adding an optional watermark
  • Generating the output images
  • Using the script
Conclusion
  • What next?

Taught by

David Powers

Reviews

Start your review of PHP: Resizing and Watermarking Images

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.