// Find the image you want to display myCursor = myConn.cursor("SELECT path FROM images WHERE img = 1"); // Write the tag to the page with the following attributes set write(myCursor.path.blobImage("gif", "Click Here!", "", 468, 60, 0, false)); // Close the cursor myCursor.close();