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: Determine the height and width of thumbnail images  (Read 4019 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.015 seconds with 20 queries.