forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: fangweile 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
'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.
-
I am searching around in this forum and trying to fix my problem.
i have found out and tried to used this code.
$objCpm->getImageToUse($row['pFilepath'], $row['pFilename'] ,"");
but it rather display the image in this format
http://www.allkoreans.net/albums/userpics/10001/5~0.jpg
It supposed to be like this
http://www.allkoreans.net/gallery/albums/userpics/10001/5~0.jpg
What code should I insert to fix it?
-
Alright I have figure it out.
I added this code to fetch the full path of my images.
$option = array('linktemplate'=>'http://www.allkoreans.net/gallery/albums/{{pFilepath}}{{pFilename}}');
And I am very glad that it is working great. ^_^