Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Thumbnails were not displayed  (Read 4436 times)

0 Members and 1 Guest are viewing this topic.

Jr. tristan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Thumbnails were not displayed
« 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.
Code: [Select]
<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.
Logged

Jr. tristan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Thumbnails were not displayed
« Reply #1 on: December 26, 2006, 04:25:15 pm »

Dear Vuud,

The problem test page is provided herewith. Grateful for your assistance. Thank you.  ;)
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Thumbnails were not displayed
« Reply #2 on: December 27, 2006, 05:54:40 am »

Dear Vuud,

The problem test page 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

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
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.