inherit
179632
0
Oct 20, 2014 9:40:01 GMT -8
ehl8611
6
May 2012
ehl8611
|
Post by ehl8611 on Apr 20, 2013 21:36:01 GMT -8
Hi,
We had the following code in the global header during the previous version:
The code automatically resized signatures that were more than 500 pixels wide or 125 pixels high. Does anyone know of a comparable code that can be used for v5? Thanks!
|
|
Aaron
New Member
Posts: 146
inherit
190454
0
Jul 18, 2024 15:15:21 GMT -8
Aaron
146
February 2013
aarongoff
|
Post by Aaron on Apr 23, 2013 15:39:53 GMT -8
My Signature Manager plugin will have this feature (completely customizable) in the next release which is scheduled for the end of this month.
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Apr 23, 2013 15:48:17 GMT -8
Just add this into your forums CSS.
div.signature img { max-width: 500px; max-height: 125px; }
|
|
inherit
192136
0
Aug 17, 2014 8:10:36 GMT -8
?adwoman?
1,884
April 2013
adwoman
|
Post by ?adwoman? on Apr 24, 2013 4:38:23 GMT -8
My Signature Manager plugin will have this feature (completely customizable) in the next release which is scheduled for the end of this month. Can you ubbc edit in miniprofile/profile? Thank
|
|
inherit
190148
0
Oct 6, 2016 19:44:41 GMT -8
spiffshine
146
February 2013
spiffshine
|
Post by spiffshine on Apr 25, 2013 16:23:23 GMT -8
Thank you Shorty! I used this, slightly modified so that signatures with stacked images would scroll, and it worked perfectly. No need for a plugin. Fantastic! /* Taming massive signatures */ div.signature img { max-height:110px; }
div.signature { max-width: 580px; max-height:120px !important; overflow:scroll; } (The height of the signature div must be 10px larger than the max-height of the images to allow for padding.)
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Apr 25, 2013 16:44:25 GMT -8
alright glad you got it.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on May 3, 2013 5:39:07 GMT -8
Just add this into your forums CSS. div.signature img { max-width: 500px; max-height: 125px; } Hello ShortyThis may be the solution for me as I have way to many plugin's. Thanks Shorty... Edit: because of multiple themes, I did this and added it to the Global Header: <style type="text/css"> div.signature img { max-width: 500px; max-height: 250px; } </style>
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on May 3, 2013 7:34:26 GMT -8
Just add this into your forums CSS. div.signature img { max-width: 500px; max-height: 125px; } Hello ShortyThis may be the solution for me as I have way to many plugin's. Thanks Shorty... Edit: because of multiple themes, I did this and added it to the Global Header: <style type="text/css"> div.signature img { max-width: 500px; max-height: 250px; } </style> That works too. Glad it helped.
|
|
inherit
154088
0
Jan 6, 2014 7:13:23 GMT -8
Liz
499
May 2010
frenchliving
|
Post by Liz on May 5, 2013 7:10:01 GMT -8
Just add this into your forums CSS. div.signature img { max-width: 500px; max-height: 125px; } Hello ShortyThis may be the solution for me as I have way to many plugin's. Thanks Shorty... Edit: because of multiple themes, I did this and added it to the Global Header: <style type="text/css"> div.signature img { max-width: 500px; max-height: 250px; } </style> That's very handy Army
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on May 5, 2013 8:19:47 GMT -8
Thanks LizI just put this together and the reason is, that there seems to be so many ways to do image resizing via plugins / mod templates. This is quite simple and especially if one has multiple themes as I do: (Global Header) <style type="text/css"> /* Resize All in One Images - Global Header */ /* Signature - Posting Images - Avatar Quote */ div.signature img {max-width:500px; max-height:250px;} div.message img {max-width:550px; max-height:550px;} div.message .avatar_size_quote img {max-width:30px; max-height:30px;} </style> This All in One Image code will take care of Signature Image Resize/Posting Image Resize and Avatar Image Resize in Quotes. Just remove any div. you do not want to resize. Note: For the Posting Image Resize part of this code, you will not have the option of "This image has been reduced by 78.6%. Click to view full size."
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on May 7, 2013 10:05:51 GMT -8
It seems that the div.message .avatar_size_quote (Avatar Quote) was conflicting with the div.message img (Posting Image) so in place for all max-width and max-height is the !important rule.
<style type="text/css"> /* Resize All in One Images - Global Header */ /* Signature - Posting Images - Avatar Quote */ div.signature img {max-width:500px !important; max-height:250px !important;} div.message img {max-width:550px !important; max-height:550px !important;} div.message .avatar_size_quote img {max-width:30px !important; max-height:30px !important;} </style>
|
|