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: different thumbnail sizes  (Read 4955 times)

0 Members and 1 Guest are viewing this topic.

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
different thumbnail sizes
« on: November 02, 2008, 12:18:34 am »

I have my thumbnails in coppermine as 75 set against height & changing the size doesn't change the thumbnail size in my side bar

My code is:

Code: [Select]
<?php
  
include "home/divahos/html_public/leannejones/gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("home/divahos/html_public/leannejones/gallery/cpmfetch/cpmfetch_config.php");
[
b]$options = array("imageheight"=>"100");[/b]
  
$objCpm->cpm_viewLastAddedMedia(2,2);
  
$objCpm->cpm_close();
?>

It doesn't matter what size the thumbnails in the gallery are or if I remove/change the bold line the images stay the size.  I am not coding the options arrays wrong?
Logged

Nibbler

  • Guest
Re: different thumbnail sizes
« Reply #1 on: November 02, 2008, 12:27:12 am »

You defined the options but you didn't give them to cpmfetch.

Code: [Select]
$objCpm->cpm_viewLastAddedMedia(2,2, $options);
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: different thumbnail sizes
« Reply #2 on: November 02, 2008, 12:51:17 am »

thanks I've sorted that but I'd like to get it to look like this like how can I chop a thumbnail rather than re-size - here or here
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.