forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Mr-Cute on May 23, 2009, 07:38:05 pm

Title: Determine the height and width of thumbnail images
Post by: Mr-Cute 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 ?



Title: Re: Determine the height and width of thumbnail images
Post by: Mr-Cute on May 25, 2009, 02:12:13 am
up
Title: Re: Determine the height and width of thumbnail images
Post by: Joachim Müller on May 25, 2009, 08:46:14 am
http://forum.coppermine-gallery.net/index.php/topic,58804.msg289537.html#msg289537
and
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618