forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Maya Y. on April 11, 2009, 04:09:52 pm

Title: [Solved]: A problem with the thumbs
Post by: Maya Y. on April 11, 2009, 04:09:52 pm
I have a problem with the thumbnails (http://ultimate-avril.org/pictures/cpmfetch/lastpics.php), everything is O.K. , but the rhumbs doesn't show.
Here's the html, when i click in view>>page source:
Code: [Select]
<table  >
<tr>
<td><a href="http://coppermine.sourceforge.net/displayimage.php?pos=-1469"  ><img  src="http://coppermine.sourceforge.net/albums/1/Misc/BlackStar/Bottles/thumb_BL08A.jpg" alt="BL08A.jpg" title="BL08A.jpg"  /></a><br /></td>
<td><a href="http://coppermine.sourceforge.net/displayimage.php?pos=-1463"  ><img  src="http://coppermine.sourceforge.net/albums/1/Misc/BlackStar/Bottles/thumb_BL02A.jpg" alt="BL02A.jpg" title="BL02A.jpg"  /></a><br /></td>
<td><a href="http://coppermine.sourceforge.net/displayimage.php?pos=-1464"  ><img  src="http://coppermine.sourceforge.net/albums/1/Misc/BlackStar/Bottles/thumb_BL04A.jpg" alt="BL04A.jpg" title="BL04A.jpg"  /></a><br /></td>
<td><a href="http://coppermine.sourceforge.net/displayimage.php?pos=-1465"  ><img  src="http://coppermine.sourceforge.net/albums/1/Misc/BlackStar/Bottles/thumb_BL06A.jpg" alt="BL06A.jpg" title="BL06A.jpg"  /></a><br /></td>
</tr>
</table>
I have read the documentation, and the php code that i used is>>
Code: [Select]
<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>
Can you help me?
Thanks.
Title: Re: A problem with the thumbs
Post by: Maya Y. on April 11, 2009, 04:11:03 pm
Why is  http://coppermine.sourceforge.net and not my url?
Title: Re: A problem with the thumbs
Post by: Joe Carver on April 11, 2009, 05:07:11 pm
 The php looks fine, which leads to a couple of things you should check.

 - When you installed cpmfetch did you get a success page? (meaning that the page showed thumbnails from your site)

 - Did you upload and install cpmfetch into your gallery's directory as per instructed?
      (example directory view...)
                                                ultimate-avril.org
                                                                       albums
                                                                       bridge
                                                                       cpmfetch
                                                                       docs
                                                                       images

 If no to either question, recheck the installation instructions, remove and reinstall.
 Good Luck!
 i-imagine
 (enjoying Coppermine with cpmfetch at     i-imagine.net (http://i-imagine.net) and gallery.josephcarver.com/natural (http://gallery.josephcarver.com/natural/) )
Title: Re: A problem with the thumbs
Post by: Maya Y. on April 11, 2009, 06:24:07 pm
No, it shows this >> http://ultimate-avril.org/pictures/cpmfetch/install.php?do=install&force=true
I have installed in pictures/cpmfetch
Title: Re: A problem with the thumbs
Post by: Maya Y. on April 11, 2009, 06:33:22 pm
I have re-installed it don't works  ???
Title: Re: A problem with the thumbs
Post by: Joachim Müller on April 11, 2009, 09:04:12 pm
If coppermine.sourceforge.net turns up instead of your gallery URL, you have failed to set the gallery URL in coppermine's config. The URL "coppermine.sourceforge.net" used to reside there in older versions of coppermine. A fresh install wouldn't have been necessary. Just going to coppermine's config and filling in your actual URL would have done the trick. Coppermine is not a desktop app that you uninstall and re-sinatll to make errors go away.
Marking thread as solved anyway.