multiple sort orders multiple sort orders
 

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

multiple sort orders

Started by tccjay, February 03, 2009, 11:49:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tccjay

I have a gallery of thread with about 150 different colors.  They are currently sorted in ascending order by the title of each image.  I would like to give the viewer the option to view the images in the sequence based on color, in the order of the rainbow.  What is the easiest way to achieve this?   I think I need a drop down box which presents the two sort orders.  Is there a plug-in?   8)

I am using Coppermine Photo Gallery 1.4.19

The website is http://www.planetearthfiber.com

Hein Traag

No support given. Respect the rules and make the "Powered by Coppermine" letters black or at least visible instead of white.

tccjay

We have read and will respect the rules.  The footer has been corrected.

Joachim Müller

Actual gallery link is http://www.planetearthfiber.com/cpg/ btw.
I don't think that there is a plugin that will do what you're up to. I suggest coming up with a custom page (maybe using the MiniCMS plugin or using genuine Joomla technology together with cpmFetch) to create a sort of portal page that will allow your visitors to pick a color. I would then assign the color names as keywords and come up with a custom search.
Want an example? Edit your records in coppermine, using unique color names as keywords. Then send your visitors to pages with those keywords in the URL, for example the color name "blush": http://www.planetearthfiber.com/cpg/thumbnails.php?album=search&search=blush&keywords=on
Having your files within an album sorted by color palette would require you to come up with a clever naming scheme: currently, your files are named PE_-_001__Blush-1.jpg or PE_-_004_RedHot.jpg - how should a silly computer program determine which of those files should be sorted in which aspect. Assign names that start with the position in the rainbow instead and you should be good. This will of course mean starting over: you'd have to remove the content you currently have and re-upload your files.

Joachim

P.S. Please change the color of the onmouse event as well for the footer - white on white is not an option.