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: [Solved]: linking to photos  (Read 4827 times)

0 Members and 1 Guest are viewing this topic.

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
[Solved]: linking to photos
« on: May 30, 2004, 05:26:24 pm »

Hello there,
What is the best way to link to photos, at the moment I am just right clicking in firefox and "viewing" image to give me the location of where folder in which they are stored....is that normal?

Alistair
« Last Edit: May 31, 2004, 07:26:36 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #1 on: May 30, 2004, 05:34:39 pm »

no, you should be able to see a "deep link" to the pic at the bottom of the page in the pic info section. There are mods available that will let you even have improved link features in the mods board. Take a look at the demo for a working example. For details, post a link to your gallery.

GauGau
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #2 on: May 30, 2004, 05:37:25 pm »

Ive basically just started again as I had mucked up the last one ! which was  http://theriverkelvin.co.uk/photogallery/

my new one is at

http://theriverkelvin.co.uk/photees//index.php


I thought the URL given at the bottom included a position which meant that if you move things around then it would mix up photos that you had linked to........like in my blog?
Logged

Nibbler

  • Guest
Re: linking to photos
« Reply #3 on: May 30, 2004, 05:46:13 pm »

That position url is static, it will always be the same. The thing to be careful of is using links from things like a search page, linking to the 3rd result of your search is not very useful for example.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #4 on: May 30, 2004, 05:48:31 pm »

Depends on the URL you actually use. The one in the pic info section at the bottom of each displayimage page (toggle it on/off with the (http://coppermine.sourceforge.net/demo/images/info.gif)-symbol) is permanent.
Example: http://theriverkelvin.co.uk/photees/displayimage.php?album=2&pos=0 will link to the very first pic in the album2, but the user will see different results (for instance if another way of sorting was chosen). If you want to deep-link to the girl in the red parka watching a piece of paper you set a deep link to http://theriverkelvin.co.uk/photees//displayimage.php?pos=-23 (will never change unless you remove the pic from your gallery entirely).

GauGau

[attachment deleted by admin]
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #5 on: May 30, 2004, 06:06:09 pm »

Hmmmmmm, so is that the same with hotlinking to photos? using that URL? its that ive just tried it and i cant seem to get it to work....

Fore example in this post in my blog http://theriverkelvin.co.uk/blog/index.php?p=39 the pics dont show up when i use that url?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #6 on: May 30, 2004, 06:13:12 pm »

erm, the link http://theriverkelvin.co.uk/photees//displayimage.php?pos=-73 points to a page, not a single pic. The html code <img src="some_html_page.htm"> will of course not work.
I now come to understand what you're trying to do... You want the url of the pic only, without the html page around it - take a look at http://forum.coppermine-gallery.net/index.php?topic=431.0

GauGau
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #7 on: May 30, 2004, 06:23:35 pm »

I get an error on that page!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #8 on: May 30, 2004, 06:28:59 pm »

what page?
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #9 on: May 30, 2004, 06:45:28 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #10 on: May 30, 2004, 06:48:26 pm »

please post a screenshot, seems to be working OK for me.

GauGau
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #11 on: May 30, 2004, 06:55:06 pm »

it says

An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: linking to photos
« Reply #12 on: May 30, 2004, 08:06:40 pm »

please try again...

GauGau
Logged

aliferste

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: linking to photos
« Reply #13 on: May 31, 2004, 12:25:23 am »

aaHH, seems to be working now....how very odd.

Thanks for the help  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.