Can i tidy this up? (different shaped thumbs) Can i tidy this up? (different shaped thumbs)
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can i tidy this up? (different shaped thumbs)

Started by The_blue, February 22, 2010, 05:57:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

The_blue

Afternoon all.

This is my clubs website.
http://ccgi.theblue.plus.com/CSAC_website/

We are using CPMfetch to load thumbs onto the right.

I'm having trouble working out how to stop any portrait shaped thumbs being used. The issue is that the 5 pictures being pulled are causing the depth to change. 5 landscape ones wouldn't.

I'm using a basic code.

<center><?php
include_once "../cpg1414/cpmfetch/cpmfetch.php"
  
$objCpm = new cpm("../cpg1414/cpmfetch/cpmfetch_config.php");
  
$options = array('windowtarget' => '_parent');
  
$objCpm->cpm_viewRandomMediaFrom("cat=1,2,3,4,5",51$options);
  
$objCpm->cpm_close(); 
?>
</center>


Is it possible to make the thumbs an even size?

The_blue

You wouldn't belive it but 5 mins later and i've done it!

$options = array('windowtarget' => '_parent',"imageheight"=>"112","imagewidth"=>"150",);

Been looking for an answer for 2 days :(

Joachim Müller

Thanks for returning and properly resolving your thread. I wish everybody would do that.