coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Jr. tristan on December 26, 2006, 05:23:25 AM

Title: Thumbnails were not displayed
Post by: Jr. tristan on December 26, 2006, 05:23:25 AM
I'm eager to integrate such mods to my wordpress. However, I've tried cftest.php. The test box shows "pass' / "info", but thumbnails are not displayed.  While I check the image properties, it only shows a partial path "http://albums/userpics/10001/thumb_s_IMG_0001.jpg" (I guess this is the reason why the image is not displayed.). On the other hand, a correct full path is shown with the image link "http://www.yourname.net/displayimage.php?=-pos265".

I am using standard prefix and following code in my wordpress.
<li>
<h2><?php _e('Random photo'); ?></h2>
<div align="center">
<?php
include "../cpmfetch/cpmfetch.php";
$objCpm = new cpm("/");
$options = array( 'subtitle' => '%t''imagewidth' => '120');
$objCpm->cpm_viewRandomMedia(1,1$options); 
$objCpm->cpm_close();
?>

</div>
</li>


I've tried to search through cpmfetch folder to edit the string "albums/userpics", but in vain. Please advise me where / how to rectify to the full path of displaying thumbnails.
Title: Re: Thumbnails were not displayed
Post by: Jr. tristan on December 26, 2006, 04:25:15 PM
Dear Vuud,

The problem test page  (http://www.dnvision.net/cpmfetch/cftest.php) is provided herewith. Grateful for your assistance. Thank you.  ;)
Title: Re: Thumbnails were not displayed
Post by: vuud on December 27, 2006, 05:54:40 AM
Quote from: Jr. tristan on December 26, 2006, 04:25:15 PM
Dear Vuud,

The problem test page  (http://www.dnvision.net/cpmfetch/cftest.php) is provided herewith. Grateful for your assistance. Thank you.  ;)


1.9.5 released tonight:  see this post
http://forum.coppermine-gallery.net/index.php?topic=39640.0 (http://forum.coppermine-gallery.net/index.php?topic=39640.0)

This works a lot better in cases like this.  I would say try it, report problems back here.  Support for the old 1.6.x series is going away soon anyway