inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 7, 2013 18:42:27 GMT -8
This plugin gives you the option to automatically re-size or replace over-sized signatures. Resize Or Replace Oversize Signatures (BZ) 0.2.2Updated Code From Library: Resize Or Replace SignaturesHere's a quick image you can use (but obviously you might have a different max size!) Simply : Add the maximum height of the signatures Choose whether you want to re-size it or replace it If you've chosen to replace it, add the url to the image you want to use. Pebble
|
|
inherit
77965
0
Apr 3, 2024 6:38:15 GMT -8
CåñåÐå™
163
April 2006
bepcanada
|
Post by CåñåÐå™ on Jan 7, 2013 20:00:05 GMT -8
Nice one . Thanks Pebble
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 8, 2013 7:00:17 GMT -8
Updated code in 1st post so it works with pagination.
|
|
inherit
77965
0
Apr 3, 2024 6:38:15 GMT -8
CåñåÐå™
163
April 2006
bepcanada
|
Post by CåñåÐå™ on Jan 8, 2013 8:42:15 GMT -8
Updated, thanks .
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 8, 2013 9:49:20 GMT -8
Hello Pebble...
Nice and this is a keeper!
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 8, 2013 17:58:11 GMT -8
Hello Pebble... After inserting a image url and just to test with a max height of signature 20, I'm getting this:
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 8, 2013 18:01:49 GMT -8
Probably (and most likely!) because you're inserting an image bigger than the allowed limit which throws the code into a fit! In reality, you're not going to insert an image that is bigger than what is allowed by the code. (and i'd bet money your using IE!)
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 8, 2013 18:07:30 GMT -8
The problem is Pebble (yeap on IE) that I'm the only one that has this problem showing and the rest of the members is only showing a one line image.
Just checked on the image size and yes it is larger than the setting height. *duh rON* Changed the height larger and it works just fine now.
|
|
inherit
133488
0
Nov 21, 2024 13:05:35 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Jan 8, 2013 20:36:43 GMT -8
Thank you very much Pebble. Like it.
|
|
Joachim
Full Member
Shhh, can't see me.
Posts: 905
inherit
23771
0
Nov 18, 2012 17:23:23 GMT -8
Joachim
Shhh, can't see me.
905
April 2004
izaeah
|
Post by Joachim on Jan 12, 2013 14:40:05 GMT -8
Quick question... one of our user in particular has a two-image signature that goes over two lines (thus looks relatively big over smaller posts).. does the plugin work for mutilple image signatures?
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 12, 2013 14:57:11 GMT -8
If the images are smaller than the size limit you've set then it won't resize them.
If the two images together are bigger than the limit then I don't think it'll work..... Do me a favour and try it! If it doesn't work this may be a nice addition to the code and I'll do it as soon as I get some time.
|
|
Joachim
Full Member
Shhh, can't see me.
Posts: 905
inherit
23771
0
Nov 18, 2012 17:23:23 GMT -8
Joachim
Shhh, can't see me.
905
April 2004
izaeah
|
Post by Joachim on Jan 12, 2013 15:31:38 GMT -8
I'll upload the signature on one of my test boards to try it out as the board in question hasn't betazoned as it wasn't really necessary, I'll see how it works.
Edit::
Two images one atop the other.. doesn't trigger the plug in. The 'top' image is 155 high and the bottom one is 140. I tried to set it up as 160 max since they're atop one another and no change. I dropped it back to 150 as a test and the 155 one did change.
Be the images side by side but the board width too slight to accommodate so they fall on two lines, or already on two lines due to the user's personal choice, the plug in only works on the image that is higher than the height set up in the plug in.
If at all possible in some way, it would be nice if the plugin could take the height of the signature as a whole. No rush to be had though, it's not like it's a life or death thing but testing it out at least brought in answers.
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 12, 2013 15:48:18 GMT -8
Cheers Joachim for the feedback. I'll make a note of this and add it to the code when I get time and post back in this thread.
|
|
inherit
167927
0
Mar 31, 2016 15:21:13 GMT -8
truckmodshop
48
June 2011
truckmodshop
|
Post by truckmodshop on Jan 16, 2013 16:20:58 GMT -8
Sorry for bumping. Want to extend my thanks. This helps.
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Jan 17, 2013 12:29:05 GMT -8
I'll upload the signature on one of my test boards to try it out as the board in question hasn't betazoned as it wasn't really necessary, I'll see how it works. Edit:: Two images one atop the other.. doesn't trigger the plug in. The 'top' image is 155 high and the bottom one is 140. I tried to set it up as 160 max since they're atop one another and no change. I dropped it back to 150 as a test and the 155 one did change. Be the images side by side but the board width too slight to accommodate so they fall on two lines, or already on two lines due to the user's personal choice, the plug in only works on the image that is higher than the height set up in the plug in. If at all possible in some way, it would be nice if the plugin could take the height of the signature as a whole. No rush to be had though, it's not like it's a life or death thing but testing it out at least brought in answers. Hi Joachim, I just sat down to have a think about this and it really is a conundrum as there would be so many considerations as to the height & width of the images and the width of the forum plus the number of images. Like my images in my signature, I could have 8 but they'd all be on one line but the total height of each added together would be bigger than the limit. The code is meant as a help. If someone is getting around it then a PM to them asking them to change the size is easy to do. I might have a moment of inspiration one day and come up with some mathematical equation to do it! =============================== Thanks truckmodshop
|
|