News by ColdFusion Tutorials

Using CFFEED to create a RSS Feed Tutorial

24 Jan
In this tutorial, I show how to retrieve information from a database and create a valid RSS 2.0 feed from this data. This tutorial should be easily adaptable for your own needs.

Creating Square Thumbnails Tutorial

23 Jan
I recently worked on a project that allowed users to upload images and I then needed to create different versions of the image... a 1200 x N, 430 x N, and 75x75... wait it has to be square!? Yeah that was my first thought, nah that won't work What about stretching it? Nope that looks like junk What about white bars ALA Your DVD player? Image is too small and they want the image to fill up the whole square. Hmm how about a nice sized-down-then-chopped image? yeah that would look cool.

Random Images Tutorial

22 Jan
Have you ever wanted to simply pull a single random image from a specified folder on your site? This useful bit of code is just the thing.

A Basic sleep() Tutorial

2 Dec
Ever wanted to pause a currently running request? You can now, in CF8, using the new sleep() function. Some will recognize it as an easier way to call the java thread.sleep method. It's been added primarily as part of the multi-threaded processing (CFTHREAD) feature, such as when one thread needs to wait upon another. But it can be useful sometimes on its own, such as when you want to simulate a long-running request for any reason.

Get href labels using RegEx Tutorial

30 Nov
Ever wondered how you could use regex to find all the link labels in a string. Not the links - but the label for the link.

Transparent Images with ColdFusion 8 Tutorial

27 Nov
ColdFusion 8's new Image manipulation functionality is pretty awesome, I think we can all agree on that. The documentation on how to use it is also very clear on all aspects except on the topic of creating transparent images. The live docs are not only unclear as to how one can do this but also whether or not this is even be done with CF8.

Create a Watermark using CFIMAGE Tutorial

26 Nov
I was thinking it would be cool if ColdFusion could watermark images for me. After about 30mins playing around I came up with this.
Pages   ← previous   next
1 2 3