Search By Userform Data and Keywords Search By Userform Data and Keywords
 

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

Search By Userform Data and Keywords

Started by COS@RIN, November 08, 2005, 10:41:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

COS@RIN

Hi folks....Hope you can once again do your magic and help me get another puzler solved for me.

In my template.html I have a simple search form that searches based on keywords entered into a textbox. my HTML for this is:

<table width="180" align="center">
<tbody>
<tr>
<td>
<h2><strong>Image Search</strong></h2>
<br>
<a href="search.php"><img src="themes/Seasonal%20Images/images/showallover.gif" alt="Search By Selecting A Keyword" border="0"></a>
<br>
<h3>Or Enter Keyword</h3>
<br>
<form action="thumbnails.php" name="search" target="_top" id="search" onsubmit="return checkform();">
<input type="hidden" value="search" name="album">
<input type="hidden" value="full" name="type">
<input name="search" type="text" id="search">
<br>
<br>
<input name="image" type="image" src="themes/Seasonal%20Images/images/searchover.gif" alt="Click To Search Gallery">
</form>
<br>
<h3>Or</h3>
<br>
<a href="thumbnails.php?album=lastup&numrows=2"><img src="themes/Seasonal%20Images/images/showlatest.gif" alt="View Latest Added Images"></a>
</td>
</tr>
</tbody>
</table>


Within my custom user fileds I have a field called "Picture Orientation" and the image uploader enters "Portrait" or "Landscape" at the time of uplload.

I would like to add a simple drop down box or radio button options to the search area in my template.html that allows the user of the site to add a picture orientation parameter to the search criteria.
Without saying I would then like the script to search for the keyword, and the custom user field data and show only images containing the relevant keywords and of the smae orientation selected.
I hope this is possible and someone can help me.

An example of what I am looking for can be found at:
http://www.andyrouse.co.uk

Thanks In Advance

COS@RIN

Joachim Müller


COS@RIN

#2
Thanks GauGau

Version 1.3.5 please (or 1.4 if you like. I know that this version is not supported yet, so I can work it out based on 1.3.5 support)

Thanks

COS@RIN

Joachim Müller

no, you can't. The search has changed significantly from cpg1.3.x to cpg1.4.x
That's why I asked, and that's the reason why we don't support cpg1.4.x yet: things differ in design. Let me ask you again: cpg1.3.x or cpg1.4.x?

COS@RIN

#4
GauGau

Version cpg1.3.5 is the version I am running. I have given up on 1.4x for now based on the reasons you have given me. However it has been very informative exploring the differences between 1.3x and 1.4x.

So I would grately apreciate any help you can provide on 1.3.5. PLEASE!

Thank You

COS@RIN