
To give you more inside knowledge of the working of the File Genie PHP, here you can read all the available online tutorials!

To give you more inside knowledge of the working of the File Genie PHP, here you can read all the available online tutorials!
With the File Genie PHP Extension you can easily display thumbnails.
In this tutorial we will show you step by step how to display the thumbnails
and then use Advanced Open Window 3 to create a popup window to display a larger
image.
Open your php file where you need to display the files.
You will find the Folder List Server Behavior under Bindings,
Folder List.

In the Folder List Name enter the name of this Folder List object.
In Folder Browse to the folder that holds the thumbnails you would like
to display.
By Allowed Extensions you can choose which files you want to display. In
this case Images only.
Make sure you select Show Thumbnails Only and fill in the correct suffix/prefix!

To apply the Folder List behavior click OK.
A message box appears to tell you that the file called incFileGenie.php has
been copied to your site in the ScriptLibrary folder. Click OK.
To actually show the files on the page open the Bindings Panel. Select
Thumbnail Image. And click on Insert.
First you need to put a link on the thumbnailImage, select the dynamic text and fill in '#' at link in the property inspector. (in Dreamweaver MX 2004 you need to select the <a> tag using the tag selector.
To create a popup window open up the Behaviors panel, click on the + sign
and Advanced Open Window 3.
1. Click on Browse to select the file to display in the popup window.
2. Click on Data Sources and Path.
3. Click OK.
4. You can specify how you want the popup to appear and where.
5. Click OK.
6. Apply the onClick event.
Let's see what it looks like. Save your file and press F12 to open up the
browser. Click on the thumbnail.

Comments
Be the first to write a comment
You must me logged in to write a comment.