Advanced search  

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]

Pages: [1]   Go Down

Author Topic: custom search urls  (Read 3204 times)

0 Members and 1 Guest are viewing this topic.

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
custom search urls
« on: March 09, 2007, 01:27:38 am »

ok after a lot of searching I cannot work out if this is possible or not.

Is it possible to create a url that will search for a specific thing...like with google images

I could create an url here that will search google images for sharks:

http://images.google.com/images?hl=en&q=sharks&btnG=Search+Images&gbv=2

is this possible to do in coppermine?
« Last Edit: March 09, 2007, 01:34:55 am by Nibbler »
Logged

Nibbler

  • Guest
Re: custom search urls
« Reply #1 on: March 09, 2007, 01:30:49 am »

thumbnails.php?album=search&search=sharks
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: custom search urls
« Reply #2 on: March 09, 2007, 01:32:41 am »

I was sure there must be a way,

thanks for all your help today Nibbler
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: custom search urls
« Reply #3 on: April 03, 2007, 01:57:33 am »

I am getting problems with using this search method...most of the time it works fine and returns a lot of images but sometimes the same search url just returns:

Quote
No image to display

I found the solution to the problem...when I deleted the cookies for my coppermine install it started working fine again.  The cookies in my browser got in a muddle somehow but now it works fine...but is this a problem that could affect other users?

How come cookies affect the outcome of a search result?
Logged

Nibbler

  • Guest
Re: custom search urls
« Reply #4 on: April 03, 2007, 11:55:49 pm »

The search is stored in the cookie. See http://forum.coppermine-gallery.net/index.php?topic=34262.0 for the fix.
Logged

nickfzx

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 285
Re: custom search urls
« Reply #5 on: April 04, 2007, 12:01:47 am »

cool thankyou that should do it. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.