Advanced search  

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

Pages: [1]   Go Down

Author Topic: Determine the height and width of thumbnail images  (Read 4585 times)

0 Members and 1 Guest are viewing this topic.

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Determine the height and width of thumbnail images
« on: May 23, 2009, 07:38:05 pm »

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 :

Code: [Select]
<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 ?



« Last Edit: May 24, 2009, 11:17:57 am by Joachim Müller »
Logged

Mr-Cute

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Determine the height and width of thumbnail images
« Reply #1 on: May 25, 2009, 02:12:13 am »

up
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.