Query driven pages Query driven pages
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Query driven pages

Started by thefrump, April 06, 2006, 05:19:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thefrump

I'm a neophyte here so my apologies in advance if this topic has already been discussed somewhere.  It makes sense that this and other similar (albeit inferior  :P) applications provide the ability to organize photos. As such it would be dumb to have the same photo show up in multiple places. However, in terms of being able to access images in a variety of ways in order to make a versatile, non heirarchal site, it would seem useful to be able to access a given photo on any of a number of pages. Is it possible with Coppermine or using Coppermine with any existing plugins to create query driven web pages?  For example, I might have photos of my dog in our Hawaii album, and that's fine.  But why not have another page that would query across the database that would include any photo that had my dog's name in the list of keywords, thereby creating a page of photos that only includes pictures of my dog, or any other pictures that can be referenced with a keyword or combination of keywords?  Given that it seems that Coppermine is database driven, It seems natural to me that one would be able to do such a thing....  Can anyone comment on this?  Thanks in advance for your help....

Tranz

It's so natural, it's a feature in v 1.4x.

QuoteIn 1.4.x the Album Keyword is no longer being used for searching purposes, but, rather, to link images from other album into another. Using this method, files/images can be displayed in various albums while the file itself need only exists in one album on your webserver. You simply upload a file to one album as you would normally do, then assign one or more keywords to the file. The keyword function reads blank spaces between words as a 'break' and assumes that these words are separate words. If you must use phrases for your keywords, connect them with an underscore or by using the ascii space holder ctrl+Alt+0160 (NOTE: the latter option only works with latin based character sets.) Each album can only have ONE (1) keyword or keyword phrase. All pictures residing in different albums that you would like to be displayed in this album must have the same keyword or keyword phrase in their respective keyword fields. Pictures, unlike albums can have multiple keywords or keyword phrases separated by spaces. This provides you with the option to display pictures in many albums. For the visitor of these albums, it will appear as if the file/image had been uploaded to each.

Next time, please read the docs.