Create nice image caption with CSS
jhnidk - August 18th, 2010 in: CSS, Graphics
Traditionally, image captions are displayed next to, or below a image. However if you have limited space, or want to increase the visibility of the caption, displaying the image caption as part of the image can be interesting.
In this post you’ll learn a simple CSS trick, that makes it easy to ad a image caption as a overlay on your images.
Advanced image resizing in PHP
jhnidk - May 31st, 2010 in: Graphics, PHP
PHP has some nice features for resizing and modification of images. In this post we’ll build a script that can take local or remote images, resize the images based on a bounding box, and optimize the files, so the file size gets as small as possible.
The script saves the resized and optimized images as jpg files.
This script can be very useful if you wants to automate downloading and optimization of external images, or has a big collection of images that needs to be resized.



Recent Comments