coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: natrlhy on January 18, 2008, 08:29:34 PM

Title: Display image link not album link
Post by: natrlhy on January 18, 2008, 08:29:34 PM
I recently upgraded from 2.0.0 to 2.1.1 and when I did it modified the way images I am using in a joomla module display the link.

Before it used to be displayed similar to this:

http://someurl/displayimage.php?album=1&pos=0

Now it displays it like this:

http://someurl/thumbnails.php?album=1

I have been messing around with the   $options = array('imagelink'); array but it's not utilizing the displayimage.php? portion that I would like it to use.

Can anyone help me in getting this to work with the displayimage.php? linking?

Thanks!
Title: Re: Display image link not album link
Post by: natrlhy on January 18, 2008, 11:32:44 PM
I've been trying my hand at getting this to work but I'm not understanding fully what I am doing.

In around line 1500 of the cpmfetch.php file I have placed this in there:

                        case ("dispimg"):
                                $url .= "displayimage.php?album={$row['aAid']}";
                                break;


I don't know all the syntax and calls and I would think I really shouldn't be in the cpmfetch.php file anyway. I'm going to stop for now and hopefully I can get further assistance.

Thanks!
Title: Re: Display image link not album link
Post by: viajero on January 26, 2008, 09:26:53 PM
Hi natrlhy,

if you are using my mod_extcoppermine module for joomla, contact me directly over my forum at www.der-reisende.de
I am doing some testing with cpmfetch 2.11dev, there seems to be some bugs - I would avoid it at the moment. I have some open issues there and might contact vuud directly

saludos
André  ;)
Title: Re: Display image link not album link
Post by: natrlhy on January 27, 2008, 06:08:48 AM
Hola Andre ;)

I am actually using the mod_cpg (http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1898/Itemid,35/) Joomla module. I ended up using the 2.1.1 cpmfetch version because I could not get the RSS feeds (thumbnail images at least) working with the 2.0.0 version.

I'm not recalling why I ended up using the mod_cpg module instead of yours, but I will have to give it a try again.

Thanks for the heads up!

natrlhy