Determine the height and width of thumbnail images Determine the height and width of thumbnail images
 

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]

Main Menu

Determine the height and width of thumbnail images

Started by Mr-Cute, May 23, 2009, 07:38:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr-Cute

hey i just need idea how can i Determine the height and width of thumbnail images
http://haifafans.net/ta.php

here is my code for random images :

<style type="text/css">
<!--
.content {
font-size: 1.1em;
}
body {
background-color: #141414;
}
//-->
</style>


<div class="panel">
<div class="inner">
<span class="corners-top"><span></span></span>
<h3>Random Images</h3>
<div align="center">
<?php
include 
"./gallery/cpmfetch/cpmfetch.php";
$options = array('windowtarget' => '_blank',"imagewidth"=>"90");
 
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewRandomMediaFrom("",2,5,6,16,10,13,9,$options);
 
$objCpm->cpm_close();
?>





</div>

<span class="corners-bottom"><span></span></span>
</div>
</div>
<br style="clear:both" />




Also another question how can i change the code : to show on 1 LINE only ( not 2 lines )  8 pictures , in ALL MY ALBUMS i wont type all albums number 1,2,3,4,4,5,6, there are any way to show ALL ALBUMS ?