Previous Thread
Next Thread
Print Thread
Hop To
#241635 02/09/2011 7:23 PM
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
Is there an easy way to limit the image size in signatures alone, or set the signature size limit smaller than the post image size limit?


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
SteveS #241639 02/10/2011 4:14 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This might work. Just add a custom .css entry with something like:

#signature img {
max-width: 400px;
}

You can change the 400 to whatever you need. That should keep any images in the signature section confined to what you want.

SteveS #249038 05/05/2012 11:42 AM
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
Hmm I just tried that in several places in a style and it does not work, where would you put this?


Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
SteveS #249042 05/05/2012 1:53 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
From memory it should the the extra section at the very bottom of the style properties listing


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
SteveS #249044 05/05/2012 2:17 PM
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
Yeah I found another thread where SD had said that, but it still does not work right it gets overwritten by the max image size for the post table.


Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 802 guests, and 202 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)