Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: modify cpmfetch look  (Read 4752 times)

0 Members and 1 Guest are viewing this topic.

lostemilie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
modify cpmfetch look
« 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?

Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.