forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Siberiantiger on August 08, 2006, 11:20:38 am

Title: URL address (fileproperties info)
Post by: Siberiantiger on August 08, 2006, 11:20:38 am
Hi!

I have a locked cpg gallery at http://album.tjelle.info (use test/Test123) and i am trying to find out how to make the url links work properly.

As of today the URL in fileproperties info shows me this info: http://album.tjelle.info/displayimage.php?pos=-2
but this does not work when linking from other sites..

I have also tried using the address displayed in IE address bar: http://album.tjelle.info/displayimage.php?album=11&pos=0 but this does not work either (user has to login)

But there is one other way to do this and that is to right click the "normal" image and choose properties and copy the Address URL from there: http://album.tjelle.info/albums/1999/Oktober/normal_IMG_2996_resize.JPG or fullsized http://album.tjelle.info/albums/1999/Oktober/IMG_2996_resize.JPG then the user does not need to login to see the picture

Is there a way that the URL in fileproperties info can show this last link info instead of what it is displaying now?

I am not sure if this is the correct place to start this topic, but after searching in this forum and found nothing about this specific case and because i know there is a plugin called sef url (could not get it to work properly) i hope it is ok.. if not, please move it to the proper place..
Title: Re: URL address (fileproperties info)
Post by: Sami on August 08, 2006, 11:24:35 am
use this plugin to show the download link of your image under file info
http://forum.coppermine-gallery.net/index.php?topic=32348.0
Title: Re: URL address (fileproperties info)
Post by: Siberiantiger on August 08, 2006, 01:30:48 pm
I did have a testrun on this plugin, but it is not what i want.. so i tried configuring it a little bit on my own..

Instead of using method=dl, i used method=fullsize, and it works,  but i am asking for a little bit of help here configuring a little more:

I would like it to display the link directly without using the text link "Download this file" (i have changed this text so it displays "Copy this shortcut") how can i modify the script to do this? (like the original URL in cpg 1.4.8)

In my gallery this is called "Link" - not "download"

I hope it is ok to write this post here since it's already been refered to the post that deals with this plugin
Title: Re: URL address (fileproperties info)
Post by: Stramm on August 09, 2006, 11:57:47 am
then try the bbcode plugin... it displays the pics URL below the intermediate image
http://forum.coppermine-gallery.net/index.php?topic=34354.0

please use the search function of the board or just browse the plugin and/ or mods board
Title: Re: URL address (fileproperties info)
Post by: Siberiantiger on August 09, 2006, 12:35:46 pm
This plugin does not work for me

First of all this plugin is displaying the wrong image link ((https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Falbum.tjelle.info%2Findex.php%3Ffile%3Ddownload%2Fpicture%26amp%3Bpid%3D2%26amp%3Bpr%3D003c11556e50bbe7ad872635e280293b&hash=031221d5b80f15e422b40484b6b4294e80ffcecd)) and it does not appear inside the file properties info as i want it to. The correct link should be something like this for the intermediate picture http://album.tjelle.info/index.php?file=download/picture&pid=2&pr=617479dd62587b8b91ec792c22fb4db8&method=normal

Title: Re: URL address (fileproperties info)
Post by: Stramm on August 09, 2006, 09:12:54 pm
if existing plugins/ mods don't do what you're looking for then why not try to come up with your own code?
Title: Re: URL address (fileproperties info)
Post by: Siberiantiger on October 05, 2006, 09:47:18 am
Please set this thread to close/solved  :)