The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Images under attached images do not resize
I'm having a really weird problem.
I run a photo site, we don't use thumbnails, so its really important that large pictures uploaded are resized to browser width. If I upload a picture and insert it into the post, it will resize correctly as I resize the browser. Code:
<div class="content"> <div id="post_message_639120"> <blockquote class="postcontent restore"> sdgfadgfadgfadfg<img src="http://forum.fourthirdsphoto.com/attachment.php?attachmentid=49911&d=1467730308" border="0" alt="Name: 15-07-01-21-24-40_P7012441.JPG Views: 8 Size: 570.1 KB" style="float: CONFIG" /> </blockquote> </div> </div> Code:
<div class="content"> <div id="post_message_639120"> <blockquote class="postcontent restore"> sdgfadgfadgfadfg </blockquote> </div> <div class="attachments"> <fieldset class="postcontent"> <legend><img title="Attached Images" src="images/misc/paperclip.png" class="inlineimg" alt="Attached Images"> Attached Images</legend> <img class="attach" src="attachment.php?attachmentid=49911&stc=1&d=1467730308" alt=""> </fieldset> </div> <!-- / attachments --> </div> You can check the attached images to see the difference. Tried changing to default skin, no change. Any ideas? |
#2
|
||||
|
||||
Why not use thumbnails?
|
#3
|
||||
|
||||
You need an Image Resizer plugin. This is the one I use: https://vborg.vbsupport.ru/showthread.php?t=237650
|
Благодарность от: | ||
MarkFL |
#4
|
|||
|
|||
Because they're tiny?
Quote:
Code:
<vb:if condition="$show['imageattachment']"> {vb:raw post.imageattachments} </vb:if> So I'm now keeping that as a solution |
#5
|
||||
|
||||
Can we get a link to view the problem? I'm thinking you could probably write some CSS to fix the issue.
|
#6
|
|||
|
|||
Well, I can't give you a link because first I switched to display attachments outside of the attachment box (which "fixed" the issue), but then I switched to simply having large (600px) thumbnails, because while the images resized to page width, they did not resize to screen height.
Ultimately, if a picture is 3:2 aspect ration and a person is on a 16:9 monitor, quite a lot of the picture cannot be seen without scrolling. I'm still trying to figure out if its possible to resize image height to be under screen height. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|