forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: lostemilie on September 22, 2010, 05:20:37 pm

Title: modify cpmfetch look
Post by: lostemilie on September 22, 2010, 05:20:37 pm
Hi! I use cpmfetch on all of my site and I have a small question (I hope a fast one).
Whenever I post images like this for example

Code: [Select]
<a href="http://photos.90210-media.org/thumbnails.php?album=1641">//</a> September 17th, 2010<center><?php
$objCpm 
= new cpm("/home/med90201/public_html/photos/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewRandomMediaFrom("album=1641",1,4);
$objCpm->cpm_close();
 
?>
</center>

Then my site looks like this http://90210-media.org/?p=6643 (see the space above and below it?)

Code: [Select]
<a href="http://www.dave-annable.org/gallery/thumbnails.php?album=308">//</a> 5.02 Brief Encounter<center><br>

<table>
<tbody><tr>
<td><a href="http://www.dave-annable.org/gallery/displayimage.php?pos=-14304"><img src="http://www.dave-annable.org/gallery/albums/userpics/10001/thumb_502_001.jpg" alt="502_001.jpg" title="502_001.jpg"></a></td>
<td><a href="http://www.dave-annable.org/gallery/displayimage.php?pos=-14306"><img src="http://www.dave-annable.org/gallery/albums/userpics/10001/thumb_502_003.jpg" alt="502_003.jpg" title="502_003.jpg"></a></td>
<td><a href="http://www.dave-annable.org/gallery/displayimage.php?pos=-14305"><img src="http://www.dave-annable.org/gallery/albums/userpics/10001/thumb_502_002.jpg" alt="502_002.jpg" title="502_002.jpg"></a></td>
<td><a href="http://www.dave-annable.org/gallery/displayimage.php?pos=-14308"><img src="http://www.dave-annable.org/gallery/albums/userpics/10001/thumb_502_005.jpg" alt="502_005.jpg" title="502_005.jpg"></a></td>
</tr>
</tbody></table>
<p></p></center>
I looked a the code and it shows that after the center and before the table there is a br and if I post something under it then after the table and before the closing center there is
Code: [Select]
<p></p>
How can I get rid of that br and the p?
Or modify it all via css so that I don't have so much space in between?