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: Full path to image  (Read 4550 times)

0 Members and 1 Guest are viewing this topic.

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Full path to image
« on: June 28, 2008, 05:40:37 am »

Hello there,

I am having a problem in how to fetch images that will open the link in image location.

When I click the thumbnails, It will go directly to the full path of that image
"http://www.sitehere.com/gallery/albums/userpics/10001/photo.jpg"

I already tried this code
Code: [Select]
'imagelink' =>'fullPathToNormal'
but it seems like it doesn't work.

I also read this manual http://cpmfetch.fistfullofcode.com/docs/stable_advanced/index.html to guide me but still no luck.


Anyone have an idea.
I will really appreciate any help.


Thanks in advance.
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Full path to image
« Reply #1 on: June 28, 2008, 12:37:12 pm »

I am searching around in this forum and trying to fix my problem.

i have found out and tried to used this code.

Code: [Select]
$objCpm->getImageToUse($row['pFilepath'], $row['pFilename'] ,"");
but it rather display the image in this format

Code: [Select]
http://www.allkoreans.net/albums/userpics/10001/5~0.jpg
It supposed to be like this

Code: [Select]
http://www.allkoreans.net/gallery/albums/userpics/10001/5~0.jpg
What code should I insert to fix it?

Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Full path to image
« Reply #2 on: June 29, 2008, 05:37:14 am »

Alright I have figure it out.
I added this code to fetch the full path of my images.

Code: [Select]
$option = array('linktemplate'=>'http://www.allkoreans.net/gallery/albums/{{pFilepath}}{{pFilename}}');
And I am very glad that it is working great. ^_^
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.