Skip to content

Commit

Permalink
fix the adaptation of the main image with the resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Feb 29, 2012
1 parent a177488 commit 6ab028e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion template/picture_content.tpl
@@ -1,7 +1,7 @@
{if isset($high)}
<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
{/if}
<img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
<img src="{$SRC_IMG}" alt="{$ALT_IMG}"
{if isset($COMMENT_IMG)}
title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
{/if}>
Expand Down
2 changes: 2 additions & 0 deletions theme.css
Expand Up @@ -129,6 +129,8 @@ fieldset li {

#theImage img {
border: 8px #fff solid;
margin: 0 20px;
max-width: 90%;
}
#theImage p {
margin: 1em;
Expand Down

0 comments on commit 6ab028e

Please sign in to comment.