[Solved]: A problem with the thumbs [Solved]: A problem with the thumbs
 

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]

Main Menu

[Solved]: A problem with the thumbs

Started by Maya Y., April 11, 2009, 04:09:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Maya Y.

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:
<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>>
<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>

Can you help me?
Thanks.

Maya Y.


Joe Carver

#2
 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 and gallery.josephcarver.com/natural )

Maya Y.


Maya Y.

I have re-installed it don't works  ???

Joachim Müller

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.