Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

Commit

Permalink
Adjust how latest image is shown (centered).
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Masse committed Nov 12, 2011
1 parent bf52b37 commit a0e885f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions css/webcam_archive.css
Expand Up @@ -6,6 +6,7 @@

#webcam_archive #latest {
margin-bottom: 1em;
text-align: center;
}
#webcam_archive #latest img {
border: 1px solid #999;
Expand Down
2 changes: 1 addition & 1 deletion display_frontend.php
Expand Up @@ -32,7 +32,7 @@
<div class="clear"><!-- --></div>
</div>

<div id="latest" style="width: <?php echo $first_image['width']; ?>px">
<div id="latest">
<img src="<?php echo $upload_path . '/' . self::upload_dir . '/' . date('Y/m/d/', $first_image_date) . $first_image_date; ?>/<?php echo $first_image['id']; ?>.jpg" />
<p><?php echo date('n/j/Y \a\t g:i a', $first_image_date); ?></p>
</div>
Expand Down

0 comments on commit a0e885f

Please sign in to comment.