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: Display image link not album link  (Read 5294 times)

0 Members and 1 Guest are viewing this topic.

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Display image link not album link
« 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!
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Re: Display image link not album link
« Reply #1 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:

Code: [Select]
                        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!
Logged

viajero

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • Webmaster and Traveller
    • Der Reisende unterwegs
Re: Display image link not album link
« Reply #2 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é  ;)
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Re: Display image link not album link
« Reply #3 on: January 27, 2008, 06:08:48 am »

Hola Andre ;)

I am actually using the mod_cpg 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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.