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: deliver intermediate image link  (Read 3747 times)

0 Members and 1 Guest are viewing this topic.

jokas

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
deliver intermediate image link
« on: September 16, 2008, 12:56:58 pm »

hi guys,

i like to show the intermediate picsize when i click on a embedded album on my website.

where in the cpmftechcode do i have to change the code to edit that the fullsize will not longer linked?
Logged
_____________________________________
|-->  J1.5.6 + CPG1.4.19 + Bridge  <--|

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: deliver intermediate image link
« Reply #1 on: September 16, 2008, 02:23:07 pm »

What version of cpmFetch you are using?
The actual code you used?
http://forum.coppermine-gallery.net/index.php/topic,35221.msg197845.html#msg197845

PYI, CpmFetch 2.0.0 have imagelink in intermediate picture by default.
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

jokas

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
Re: deliver intermediate image link
« Reply #2 on: September 16, 2008, 02:34:35 pm »

Code: [Select]
function highSlideSettings() {

global $mainframe;

$this->cfOptions['linktemplate'] = $this->objCfExt->cfg['cpg_url'].'displayimage.php?pos=-{{pPid}}" title="{{pTitle}}" class="highslide" onclick="return hs.expand(this,{src: \''.$this->objCfExt->cfg['cpg_url'].'albums/{{pFilepath}}{{pFilename}}\', slideshowGroup: \''.$this->cfGroupId.'\'})';

just solved it by insert _normal in the cfPWrapper.php from my joomla plugin folder.

thanks
Logged
_____________________________________
|-->  J1.5.6 + CPG1.4.19 + Bridge  <--|
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.