Advanced search  

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

Pages: [1]   Go Down

Author Topic: [solved] Static URLs using PID instead of POS...  (Read 6309 times)

0 Members and 1 Guest are viewing this topic.

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
[solved] Static URLs using PID instead of POS...
« on: September 17, 2004, 01:27:44 pm »

Hey there. I have a question if something can be done with Coppermine. The system constantly uses the locations such as http://coppermine.sourceforge.net/demo/displayimage.php?album=2&pos=2 but these get changed the second you upload a new image into the category and thus renders google's index completely useless.

Would it be possible to tell coppermine to stop using this system and link to image's unchangeable address which would be http://coppermine.sourceforge.net/demo/displayimage.php?pos=-10 ?

(I am thinking about the album system as the ssi.php uses this naming convention)

Solution found here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0
« Last Edit: September 27, 2004, 06:10:57 am by GauGau »
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
Re: Static Image URLs?
« Reply #1 on: September 23, 2004, 02:57:57 am »

« Last Edit: September 27, 2004, 03:14:33 am by Lombi »
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Static Image URLs?
« Reply #2 on: September 23, 2004, 03:02:09 am »

Are you talking about the links from such meta albums as "random" or "last added"?
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Static Image URLs?
« Reply #3 on: September 23, 2004, 06:41:45 am »

I know how frustrating it is to have URLs like that indexed by the search engine and pople hollering. However it is not as simple as just using pos=-pid.

That said I have added this functionality to CPG and will be committing it today to the CVS - you can checkout the new version if you wish (all support and guarantees void ;)  )
Logged
SANIsoft PHP applications for E Biz

cryogenic

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • the cynic says...
Re: Static Image URLs?
« Reply #4 on: September 23, 2004, 09:25:32 am »

I thought this was the point of the SEF URLs plugin? I know all it does is basically use mod_rewrite in apache to accomplish this effect to a degree, but it seems to be ok.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Static Image URLs?
« Reply #5 on: September 23, 2004, 11:23:56 am »

nope SEF URLs is a completely different thing - and I do not think SEF works on meta album yet...
« Last Edit: September 26, 2004, 07:17:07 am by Tarique Sani »
Logged
SANIsoft PHP applications for E Biz

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
Re: Static Image URLs?
« Reply #6 on: September 26, 2004, 05:00:12 am »

Oh wow, thanks. I will look into this the first thing in the morning.

If this is half of what it should do it will be the answer of my prayers.
It's probably unnecessary to add that I failed miserably in all my tries to do this myself :P

----

Sollution to problem found here:
http://forum.coppermine-gallery.net/index.php?topic=5832.0
« Last Edit: September 27, 2004, 03:15:09 am by Lombi »
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.

Lombi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
  • Never lick a gift horse in the mouth.
    • Surreal Art Prints
Re: Static Image URLs?
« Reply #7 on: September 27, 2004, 02:58:39 am »

« Last Edit: September 27, 2004, 03:12:57 am by Lombi »
Logged
While you are looking at some surreal art prints or just some surrealistic art you might get yourself some windows xp boot screens.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 17 queries.