...

View Full Version : Help Edit Coppermines



NautTboy
02-27-2009, 05:06 AM
Need help editing coppermine php. I would like to move the content from the top (before CATEGORY) to the bottom with the picture first on top. could i just copy and paste (in red) the top part and paste it at the bottom?

http://isphost.org/coppermine1.jpg


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Gallery Page - Home</title>

<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<!--
SVN version info:
Coppermine version: 1.4.20
$Revision: 4784 $
$LastChangedBy: gaugau $
$Date: 2008-08-07 08:33:20 +0200 (Do, 07 Aug 2008) $
-->
</head>
<body>

<table width="100%" border="0" cellpadding="20" cellspacing="20">
<tr>
<td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="index.php"><img src="themes/classic/images/site_logo.png" border="0" alt="" /></a><br />
</td>
<td width="100%" align="center">
<h1>Gallery Page</h1>
<h3></h3><br />
<!-- BEGIN home -->
<a href="index.php" title="Go to the home page">Home</a> ::
<!-- END home --> <!-- BEGIN login -->
<a href="login.php?referer=index.php" title="Log me in">Login</a>
<!-- END login --> <br /> <!-- BEGIN album_list -->
<a href="index.php?cat=0" title="Go to the album list">Album list</a> ::
<!-- END album_list --> <!-- BEGIN lastup -->
<a href="thumbnails.php?album=lastup&amp;cat=0" title="Show most recent uploads">Last uploads</a> ::
<!-- END lastup --> <!-- BEGIN lastcom -->
<a href="thumbnails.php?album=lastcom&amp;cat=0" title="Show most recent comments">Last comments</a> ::
<!-- END lastcom --> <!-- BEGIN topn -->
<a href="thumbnails.php?album=topn&amp;cat=0" title="Show most viewed items">Most viewed</a> ::
<!-- END topn --> <!-- BEGIN toprated -->
<a href="thumbnails.php?album=toprated&amp;cat=0" title="Show top rated items">Top rated</a> ::
<!-- END toprated --> <!-- BEGIN favpics -->
<a href="thumbnails.php?album=favpics" title="Go to my favorites">My Favorites</a> ::
<!-- END favpics --> <!-- BEGIN search -->
<a href="search.php" title="Search the gallery">Search</a>
<!-- END search -->
</td>
</tr>
</table> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top">

</td>
</tr>
<tr>
<td align="center" valign="top">


</td>
</tr>
</table>
<img src="images/spacer.gif" width="1" height="15" alt="" />
<br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">


<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">

<tr>
<td class="tableh1" width="80%" align="left"><b>Category</b></td>
<td class="tableh1" width="10%" align="center"><b>Albums</b></td>
<td class="tableh1" width="10%" align="center"><b>Files</b></td>
</tr>

<tr>
<td class="catrow" align="left"><table border="0"><tr><td></td><td><span class="catlink"><b><a href="index.php?cat=1">User galleries</a></b></span>This category contains albums that belong to Coppermine users.</td></tr></table></td>
<td class="catrow" align="center">1</td>
<td class="catrow" align="center">61</td>
</tr>
<tr>
<td class="tableb" colspan="3"></td>
</tr>

<tr>
<td colspan="3" class="tableh1" align="center"><span class="statlink"><b>61</b> files in <b>1</b> albums and <b>1</b> categories with <b>0</b> comments viewed <b>93</b> times</span></td>
</tr>
</table>
<!-- End standard table -->

<img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td class="tableh1" colspan="4">Random files</td>
</tr>

<tr>

<td valign="top" class="thumbnails" width ="25%" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<a href="displayimage.php?album=random&amp;cat=0&amp;pos=-24"><img src="albums/userpics/10001/thumb_march7_039.jpg" class="image" width="75" height="100" border="0" alt="march7_039.jpg" title="Filename=march7_039.jpg
Filesize=354KB
Dimensions=1254x1672
Date added=Feb 26, 2009"/><br /></a>
<span class="thumb_title">John Sully Pete</span><span class="thumb_title">1 views</span><span class="thumb_caption">just got done building the snowman</span>

</td>
</tr>
</table>
</td>
<td valign="top" class="thumbnails" width ="25%" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<a href="displayimage.php?album=lastup&amp;cat=0&amp;pos=7"><img src="albums/userpics/10001/thumb_VACATION_060.jpg" class="image" width="100" height="75" border="0" alt="VACATION_060.jpg" title="Filename=VACATION_060.jpg
Filesize=545KB
Dimensions=1672x1254
Date added=Feb 26, 2009"/><br /></a>
<span class="thumb_title">Sully Driving</span><span class="thumb_title">2 views</span><span class="thumb_caption">Pete with Sully driving at Disney</span><span class="thumb_caption">Feb 26, 2009</span>

</td>
</tr>
</table>
</td>

</tr>
</table>
<!-- End standard table -->

<img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="vanity">
<a id="v_php" href="http://www.php.net/" target="_blank"></a>
<a id="v_mysql" href="http://www.mysql.com/" target="_blank"></a>
<a id="v_xhtml" href="http://validator.w3.org/check/referer" target="_blank"></a>
<a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"></a>
</div>
<!--Coppermine Photo Gallery 1.4.20 (stable)-->
</body>
</html>

NautTboy
02-27-2009, 05:55 AM
Tried copy and paste as mentioned above and it's all wacked.

I want to move the top part to the bottom so that people dont have to scroll down to see full picture. Top part is taken most of the webpage and only half of the picture shows.

Fou-Lu
02-27-2009, 07:30 AM
This is a design problem, not a scripting problem. Moving from php to html/css forum.
What I can tell you is the client guys will probably tell you to drop you're table usage first thing and opt for a div with css markup design. Then you won't need to worry about problems like these from happening.

snowysweb
02-27-2009, 07:37 AM
if you took a peek into XHTML & CSS, not only would you not be lost in translation, but you'd find it a lot easier to move your content around, static or dynamic.

CaptainB
02-27-2009, 08:31 AM
Have a read here - you might find some good info that might help: http://documentation.coppermine-gallery.net/en/theme.htm



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum