forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: marymc on November 13, 2009, 04:31:55 pm
-
Hi everybody!
Well, my problem is:
When I past the code in a div or table on my page it looks like this http://www.allaboutpec.netsons.org/index.php ( I linked my page) I dunno how to explain this... anyway, I'd like to know how to make thumbs go on a new line to avoid that the div hides them.
Sorry for my bad english.
-
Oh... I forgot to say that I'm using an iFrame. I also tried to do that without an iFrame, but I had the same problem.
-
Please, could you post your cpmFetch code?
-
you can use <tr> tags to make new rows
example:
<table>
<tr>
<td>
<img></img>
</td>
</tr>
<tr>
<td>
<img></img>
</td>
</tr>
</table>
The example above would put one img on top of another.
edit- opps din't see that it was related to cpmFetch - thanks i-imagine
-
sure... here's the code:
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
anyway, it's the custom code. I copy it from the 'screen.php' page. I'm a newbie about php :(
Thanks
-
oops.. I meant 'default code' not custom code. sorry.
-
Your problem is very, very simple, so as a reminder for the future and for future readers too....
Read the documents that are packaged with your cpmFetch or use This Link (http://cpmfetch.fistfullofcode.com/). Also read what other people have posted on the board.
Change:
$objCpm->cpm_viewLastAddedMedia(1,4);
To:
$objCpm->cpm_viewLastAddedMedia(2,2);
-
Thanks a lot ;D & thank you also for your suggestions.