Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Post
by slash » 17 May 2012, 11:05
hi,guys I need your help. I try to display Attachments image with the mod prettyphoto side by side.
but the result is:
but as you can see the text is displayed at the side of img atthch.
I do this change in content.css
Code: Select all
dl.thumbnail img {
padding: 3px;
border: 1px solid #666666;
background-color: #FFF;
-webkit-box-shadow: 2px 2px 3px #868686;
-moz-box-shadow: 2px 2px 3px #868686;
box-shadow: 2px 2px 3px #868686;
margin-right:5px;
float:left;
}
can you help me please? TY
Post
by Stoker » 17 May 2012, 11:21
Dont edit the css. You need to edit attachment.html instead.
Post
by slash » 17 May 2012, 11:46
how? thank you!
Post
by Stoker » 17 May 2012, 12:00
Instead of this:
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
<dt><a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" rel="prettyPhoto[pp_gal{_file.THUMB_POST_ID}]"><img src="{_file.THUMB_IMAGE}" 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 -->
You can use this:
Code: Select all
<!-- IF _file.S_THUMBNAIL -->
<a href="{_file.U_DOWNLOAD_LINK}/{_file.DOWNLOAD_NAME}" rel="prettyPhoto[pp_gal{_file.THUMB_POST_ID}]"><img src="{_file.THUMB_IMAGE}" alt="{_file.COMMENT}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a>
<!-- ENDIF -->
Just an example.
Post
by slash » 17 May 2012, 12:07
I try but not display side by side... =(
Post
by Stoker » 17 May 2012, 13:35
You have to post them side by side.