2 Questions re Coppermine 2 Questions re Coppermine
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

2 Questions re Coppermine

Started by steviecee, June 08, 2005, 11:22:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

steviecee

I'm thinking of getting coppermine to help with a site I'm working on, however before I take the plunge there are a couple of points I'd like to clarify.

The website I am working on has a searchable MySQL database, which is used to provide users with relevent properties for Film and TV locations.  Once a user searches for say bars in Leeds, I want to be able to display images relating to the results.  You can see what I meen by looking at the loaction search page at www.yorkshirelocations.co.uk as I have an HTML mockup there.

I want to know if Coppermine will be able to serve the images relating to the search results from the database?  It also needs to look like the mockup I have mentioned above, where an initial search brings up 3 results at a time, each displaying 3 pictures, if you then select one of those pictures you get to see 9 of that property and finally if you selct one of those you get a larger view.

Any help would be hugely appreciated as I am stuck!!
Cheers
Steve


steviecee

Hi, thanks for the reply, unfortunately the links don't really help me. is the system compatible with MySQL. For example if i stored a location in MySQL with a location ID and had images stored in coppermine with the same ID could i search MySQL for a location and bring up the pictures from coppermine with the same ID?
Cheers ( i need to be sure it will work before i buy or my boss will not be happy!!!))
Steve

Nibbler

Why don't you download a copy and try it?

What you are looking for can be done by settting decent titles/descriptions/keywords to the pictures.

Abbas Ali

I guess this is what you want.

You already have a mysql database on which you want to perform search. The search results will give you some sort of id and then by this id you want a coppermine (which uses some other database) picture to be shown.

If this is what you want then there is possibility. For the solution to work the id retrieved after search should be a valid pid of one of the files of coppermine.

After the search suppose you get a id $id. Then you can build a URL like http://cpgsite/displayimage.php?pos=$id  On clicking this link you will be taken to the respective picture.
Chief Geek at Ranium Systems

Joachim Müller

just try it, coppermine is free, no need to buy anything.