aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/attachment.html
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-03-30 14:19:16 -0700
committerMatt Friedman <maf675@gmail.com>2014-03-30 14:19:16 -0700
commit8ee37def81f4ba571adb51ab6e59623fde478449 (patch)
treefcdc6f2d4f147e84cf0529ab1564bd213ba43b06 /phpBB/styles/prosilver/template/attachment.html
parentacb4d90371cfa2682e74e38c8e3bef087ace7600 (diff)
downloadforums-8ee37def81f4ba571adb51ab6e59623fde478449.tar
forums-8ee37def81f4ba571adb51ab6e59623fde478449.tar.gz
forums-8ee37def81f4ba571adb51ab6e59623fde478449.tar.bz2
forums-8ee37def81f4ba571adb51ab6e59623fde478449.tar.xz
forums-8ee37def81f4ba571adb51ab6e59623fde478449.zip
[ticket/11962] Resize posted images to fit and give them a class
PHPBB3-11962
Diffstat (limited to 'phpBB/styles/prosilver/template/attachment.html')
-rw-r--r--phpBB/styles/prosilver/template/attachment.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html
index 4c0a326f1e..c227e710b1 100644
--- a/phpBB/styles/prosilver/template/attachment.html
+++ b/phpBB/styles/prosilver/template/attachment.html
@@ -6,7 +6,7 @@
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
- <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
+ <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
</dl>
<!-- ENDIF -->
@@ -14,7 +14,7 @@
<!-- IF _file.S_IMAGE -->
<dl class="file">
- <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
+ <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
</dl>