Although there are loads of ways you can do this, for this example, we’re assuming that the fullsize image is located in a directory called “images”, and the thumbnails will have the same name as the fullsize, but will be copied into a directory called “thumbs”. <?php // find out the current size info $photo_filename = "myimage.jpg" $path =...
Dynamic thumbnailing with PHP and Imagemagick
This code formatting is a little off, since the WYSIWG editor seems to have eaten part of it. Sorry. <?php /* ———————————————- */ /* ———— BEGIN PHP SNIPPET —————-*/ /*...
Sending HTML/Plain Text Mail Simultaneously using PHP
Although I expect this article to cause a few ruffled feathers amongst the programming community (since most of them are against HTML email), there are times when the client will ask for it anyway, so you have to know how to do it. We had run into difficulty finding a straight answer on this topic, and many of the articles we had found on it gave us bizarre results in the HTML mail… so once...