Gossamer Forum
Home : Products : DBMan : Customization :

I want to create a multiple image data base

Quote Reply
I want to create a multiple image data base
Could some one help me to create an image data base with thumbail and real images to view in different categories ?

Thanks in advance

------------------
Quote Reply
Re: I want to create a multiple image data base In reply to
I would need more information on what you want to do.

First, though, have you installed the demo?

------------------
JPD





Quote Reply
Re: I want to create a multiple image data base In reply to
One thing you can think of is using the "short" and "long" view mod for your project.
The "short" view would have the thumbnails, with a link to the larger image (in "long" view).

You can create categories by using the db_select option in your default.cfg file, which will create a drop-down menu of categories.

(Look in the Gossamer-Threads Resource Center under DBMAN for the Short and Long View mod, which was graciously written by
JPDeni.)

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited June 29, 1999).]
Quote Reply
Re: I want to create a multiple image data base In reply to
I'm glad you installed the demo. (I had to ask. Smile )

I think this will work fine for what you want to do. Eventually, you'll probably want to adapt the short/long modification that is available at
http://www.jpdeni.com/dbman/short.txt

First, though, you'll want to set up your own fields. Go into the default.cfg file and, following the patterns of the fields that are there, enter your own field definitions.

The reason I asked if you were going to be the only one adding data is that, if you're not, you will probably want to add a UserID field so that only the user who added the record can modify or delete it. You will also need to edit the $auth_user_field variable (almost at the bottom of the file) to match the field number of the UserID field.

If you are going to be the only one adding records, then you don't have to worry about a field like that. But you will need to set the $auth_user_field variable to -1. Otherwise you will have real problems.

Try adding your own fields and setting the $db_auto_generate variable to 1. Then check out to make sure your fields work. You won't see your graphics yet, but it's important that your fields are defined correctly before you start working on anything else.


------------------
JPD





Quote Reply
Re: I want to create a multiple image data base In reply to
Yes, I have already install the demo, and it works fine.

I want to create album categories with a short description, date, title and the thumbail.
When the person click onto the thumbail he can view the enlarge picture, with the possibility to go back to the search result page.

Thanks for your help
Greg