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

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

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 ?