Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 13 Years, 5 Months, 1 Week ago Auto resize signature images
#1
Solved: 13 Years, 5 Months, 1 Week ago
Is it possible to auto resize signature images ?
Pokemon Style With Lots Of Maps Monster MMORPG Game Developer
#2
Solved: 13 Years, 5 Months, 1 Week ago
Yes. I did this by editing two things.

First you want to edit your template
Post Bit Templates > postbit_signature
If it is default replace the code that is in there with
<div class="signature">
{$post['signature']}
</div>

Then you want to find your global.css file (Upload>cache>themes>you theme name)and add in the code

.signature img {max-width:600px; max-height:150px; overflow:hidden;}

.signature {border-top: 1px solid #aaaaaa; width:100%; margin-top:1em; padding-top:0.2em; max-height:400px; overflow:hidden;}

Note: you can change the number of pixels in max-width and max-height to whatever you want and the second line adds a nice grey line above the signature instead of the horizontal rule which you would have taken out if you replaced the postbit_signature with my code.
#3
Solved: 13 Years, 5 Months, 1 Week ago
This user has been denied support. This user has been denied support.
Test:
[Image: key_art_world_news.jpg]
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)