Overlaying 2 Images

In this tutorial i will show you how to over lay one image onto another using coldfusions built-in image functions, this method can be used to add a walter mark to an image.

First of all we need 2 images, here are my images image 1 and image 2 i will overlay image 2 onto image 1 using the ImageOverlay function.

We firstly get both of the images using the cfimage tag and give them names

<cfimage source="http://cfproject.co.uk/coldfusionsamples/clio.jpg" name="baseImage">
<cfimage source="http://cfproject.co.uk/coldfusionsamples/cfp.jpg" name="topImage">

We then simply overlay them using the Image Overlay function and write them to the browser

<cfset ImageOverlay(baseImage,topImage)>
<cfimage source="#baseImage#" action="writeToBrowser">

Here is an example of the finished image

Hashing Passwords

After being criticized for my last post about 2 way encryption of passwords i have decided to write a post about hashing your passwords. As was pointed out in my last post this is a more secure way of keeping your password data safe.

[More]

Encrypting Passwords

In this tutorial i will show you how you can easily encrypt and decrypt passwords using coldfusion

[More]

CF8 Rich Text Editor

Many of you may not know that CF8 has a built-in Rich Text Editor.

It is actually very easy to use this script, all you need is to have a cfform with a cftextarea.

[More]

Coldfusion 8 Functions

With Coldfusion 8 came many very interesting and very useful functions.

[More]

Archives By Subject

Advertising (3) [RSS]
Blog Design (1) [RSS]
CFProject Scripts (2) [RSS]
Coldfusion Charts (3) [RSS]
Coldfusion Functions (5) [RSS]
Coldfusion Overview (1) [RSS]
Coldfusion Tutorials (16) [RSS]
Image Manipulation (1) [RSS]
JavaScript (3) [RSS]
Useful Tools (3) [RSS]

Recent Comments

FCKeditor
Jonny Shaw said: I know that but unless you can get the new version on FCKeditor in to CF8 then i will keep using FCK... [More]

FCKeditor
Azadi Saryev said: Jonny, their ARE the same. CF8 just uses an earlier version of FCKEditor, so, of course, there are d... [More]

FCKeditor
Jonny Shaw said: There are a few differences between the two, i got annoyed with the CF8 editor because it tries to b... [More]

FCKeditor
Shannon Hicks said: Yeah, from the CF8 docs: Using the rich text editor The ColdFusion rich text editor lets users ente... [More]

FCKeditor
Henry Ho said: Ya.. YUI Editor also == FCKEditor [More]

Recent Entries

Customizable Homepage
Horizontal Loop
FCKeditor
Coldfusion Blog | Coldfusion Hosting | About Me