forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: aliferste on May 30, 2004, 05:26:24 pm

Title: [Solved]: linking to photos
Post by: aliferste 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
Title: Re: linking to photos
Post by: Joachim Müller 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 (http://coppermine.sourceforge.net/demo/displayimage.php?album=random&cat=&pos=-3) for a working example. For details, post a link to your gallery.

GauGau
Title: Re: linking to photos
Post by: aliferste 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?
Title: Re: linking to photos
Post by: Nibbler 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.
Title: Re: linking to photos
Post by: Joachim Müller 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 (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fcoppermine.sourceforge.net%2Fdemo%2Fimages%2Finfo.gif&hash=31642e671ada19faeea5938e26e97f4c9cd62892)-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]
Title: Re: linking to photos
Post by: aliferste 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?
Title: Re: linking to photos
Post by: Joachim Müller 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
Title: Re: linking to photos
Post by: aliferste on May 30, 2004, 06:23:35 pm
I get an error on that page!
Title: Re: linking to photos
Post by: Joachim Müller on May 30, 2004, 06:28:59 pm
what page?
Title: Re: linking to photos
Post by: aliferste on May 30, 2004, 06:45:28 pm
http://forum.coppermine-gallery.net/index.php?topic=431.0 that page :)
Title: Re: linking to photos
Post by: Joachim Müller on May 30, 2004, 06:48:26 pm
please post a screenshot, seems to be working OK for me.

GauGau
Title: Re: linking to photos
Post by: aliferste 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. 
Title: Re: linking to photos
Post by: Joachim Müller on May 30, 2004, 08:06:40 pm
please try again...

GauGau
Title: Re: linking to photos
Post by: aliferste on May 31, 2004, 12:25:23 am
aaHH, seems to be working now....how very odd.

Thanks for the help  :)