Chapter 10. Working with Images
In this chapter, you will learn:
- Installing ImageMagick on MAC with Cactuslab
- Uploading images with CodeIgniter
- Generating thumbnails – resizing
- Rotating images
- Cropping images
- Adding watermarks with text
- Adding watermarks with image overlays
- Submitting a form with CodeIgniter CAPTCHA
Introduction
CodeIgniter has a useful array of tools to help you manipulate and amend images in the form of the image manipulation class; it's not Photoshop, but it's good enough for most of what you'll need to do in your day-to-day web development. It has functionalities to help you upload images, resize them, create thumbnails, add watermarks, crop, and rotate—all very useful things and exactly what you'll be after in a development environment. ...
Get CodeIgniter 2 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.