coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: saqwild on October 11, 2008, 02:35:46 PM

Title: new thumbnail not showing on other server
Post by: saqwild on October 11, 2008, 02:35:46 PM
hello.
i have a ringtone gallery, recently i have added some .aac format ringtone files, for which i have also made a custom image and have made the thumbnail.
on my main site where gallery and cpmfetch is installed it is working fine but when i try to fetch the .aac image on my other domain it doesnt show insted it shows the file name only?
Title: Re: new thumbnail not showing on other server
Post by: Joachim Müller on October 13, 2008, 08:14:35 AM
Dang, I lost my mind-reader hat. You'll have to post some details then, e.g. a link to your gallery and the cpmFetch code used. A link to your "other" domain might help as well.
Title: Re: new thumbnail not showing on other server
Post by: saqwild on October 14, 2008, 06:02:05 AM
Thanks

this is my fetch code
<?php
echo "<CENTER>";
  include_once "cpmfetch/cpmfetch.php";
  $objCpm = new cpm("cpmfetch/cpmfetch_config.php");
$styleguide = array(
      "alttag" => "{{pFilename}}: {{pFilesize}}KB",
      "imagestyle" => "fetchimage",
      "imagesize" => 'thumb',
                "imagewidth" => '50',
                "imageheight" => '50',
                "imagelink" => 'full',
                "windowtarget" => '_blank',
      "cellattributes" => array('align' => 'center','width' => '50'));
$objCpm->cpm_viewRandomMedia (3, 5, $styleguide);
$objCpm->cpm_close();
print ("<a href=\"http://sonydot.com/index.php\">View Gallery</a>");
?>

www.sonydot.com (http://www.sonydot.com) is the main domain and www.telebliss.com (http://www.telebliss.com) (drag to the bottom)is the other domain

Title: Re: new thumbnail not showing on other server
Post by: saqwild on October 20, 2008, 01:45:48 PM
Can anyone may please look into this?