modify cpmfetch look modify cpmfetch look
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

modify cpmfetch look

Started by lostemilie, September 22, 2010, 05:20:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lostemilie

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

<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?)

<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
<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?