Hey! I couldn't find a thread explaining how to put style on the images... :)
Here is my code:
<?php
include "./videos/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./videos/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,2);
$objCpm->cpm_close();
?>
I would like my pictures to be like this:
<a href="photos" class="op"><img src="lastimage" height="60" width="60" class="imgnews2"></a>
Thank you, sorry if it has already been asked... :)
A whole sticky thread already created. Always read FAQ's before posting. Cosmetic FAQ's - "How do I make it look like this..." (http://forum.coppermine-gallery.net/index.php/topic,51527.0.html)
Yes i tried it but it did not seem to work. I will try again tomorrow...
I got it, after an hour, i hadn't read the last post :p
I have another problem now, I would like the two first pics to show, then to have a <br>, then to show 2 more. Is it possible? Here is my code:
<?php
include "./photos/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./photos/cpmfetch/cpmfetch_config.php");
$options = array('windowtarget' => '_blank', 'linkstyle' => 'image');
$objCpm->cpm_viewLastAddedMedia(1,2,$options);
$objCpm->cpm_close();
?>
Simply, i put 2, 2 and it worked ::) So sorry lol ;D
Thanks for coming back and mark this thread as solved. ;)