|
Chip
|
 |
« on: October 03, 2001, 01:57:57 pm » |
|
When I select an Icon (gif image) from somewhere off the web, it comes up on the BB roughly double sized. Witness:  changes into.... <----- to this monstrosity on the left Any way to fix that?
|
|
|
|
|
Logged
|
|
|
|
lukpac
Guest
|
 |
« Reply #1 on: October 03, 2001, 02:10:55 pm » |
|
I had the same problem - you need to make sure the image you are using is the exact width YaBB is looking for. If it's too narrow you need to add some whitespace to it. I see your image is from the Onion - you'll have to download it, add the whitespace, then upload it to somewhere where we can all access it. If you don't have any other place for it I can stick it on my server...
Open up my Frink image and see what I mean (obviously the whitespace needs to be transparent).
|
|
|
|
|
Logged
|
|
|
|
lukpac
Guest
|
 |
« Reply #2 on: October 03, 2001, 02:12:42 pm » |
|
Looking at mine - it needs to be 100px wide - not sure if it needs to be 100px high or not (I think so).
|
|
|
|
|
Logged
|
|
|
|
BillyBuerger
Nutjob
Offline
Gender: 
Posts: 751
I love Mark!
|
 |
« Reply #3 on: October 03, 2001, 02:40:46 pm » |
|
I'll explain some more if you would like. In order to keep people from using huge icons, it automatically sets the width of the icon to 100px if you select your own. The height gets resized to keep the same aspect ratio. But if you noticed the superwoman one it doesn't do any check on the height. So if your icon is say 100px by 1000px it wouldn't get resized at all. Now don't go out and do that just to piss off Mark. (or do it, I don't care) Now as in chips case where the width is smaller than 100px it makes it larger 'cuz it again sets the width to 100px no matter what the size. In my opinion (which doesn't really matter) you should be able to specify the width and height of your icon within limits of course (eg. 100x100).
|
|
|
|
|
Logged
|
|
|
|
Mark Lippert
The Boss
Administrator
Nutjob
Offline
Posts: 1539
|
 |
« Reply #4 on: October 04, 2001, 05:15:59 am » |
|
Warning: nerdy programmer talk about to commence.
Back a few weeks ago when I had this thing called "free time" I was trying to come up with a way to detect the size of off-site images with Perl's Image::Size module. By doing so, it would only resize images that are larger than 100px, leaving the smaller ones alone. However, I only got around to getting it to work with images where I knew the exact directory. (Not the URL, but the directory it resided; trust me, it's different.) That method, unfortunately, is pretty counter-intuitive to the whole off-site images thing. Perhaps our own Master of Perl-fu can provide some enlightenment for us on this problem.
And just for the hell of it, here's the poop on how...heh heh, I said "poop"...on how the images currently work: The handful that are located on this server don't get resized, since I can control what size they are. An off-site on gets resized to 100px wide no matter what it's size. Height is automatically resized in proportion. The reason Billy's "dancing fool" picture looks like a cinescope movie projected with a flat lens is because that's the way he chose to resize it. Personally, I would've resized it in proportion, but there's just no talkin' to the boy. Grrr...the boy!
|
|
|
|
|
Logged
|
"Wonder Twin powers, ACTIVATE!" "Form of a bucket of water!" "Shape of a thirsty gorilla!"
|
|
|
BillyBuerger
Nutjob
Offline
Gender: 
Posts: 751
I love Mark!
|
 |
« Reply #5 on: October 04, 2001, 05:38:24 am » |
|
Yeah I resized it on purpose. Or maybe I just wanted it to make me look thinner. Anyways, I understand what you mean by it's difficult to get offsite image sizes. I wouldn't expect you to do that. Like I said, make the size of the image another option. That way it's our fault if our image looks crapy because it's not resized correctly.
|
|
|
|
|
Logged
|
|
|
|
|
Chip
|
 |
« Reply #6 on: October 04, 2001, 02:34:27 pm » |
|
seems to me that it could be fixed with a simple if,then command, where it leaves pics less than 100 px wide alone. But what the hell do I know, the last programming I did was in Basic. 10 let A=1 20 print A 30 let A=A+1 40 print A 50 goto 30 run
WHEEEEEE!!!!!!!!!
|
|
|
|
|
Logged
|
|
|
|
BillyBuerger
Nutjob
Offline
Gender: 
Posts: 751
I love Mark!
|
 |
« Reply #7 on: October 04, 2001, 02:44:53 pm » |
|
So wait, you're not a programmer? You were right about it not being that simple though. Like mark said, it's possible with images that he's hosting on his server. (even then it requires knowledge of gifs or steal it from someone else) But an image on a different server doesn't work the same.
|
|
|
|
|
Logged
|
|
|
|
lukpac
Guest
|
 |
« Reply #8 on: October 04, 2001, 04:10:53 pm » |
|
Well, the simple solution is to just get rid of the portion of the IMG tags that force all images to be 100px wide. People can already screw things up vertically if they want... Chip, here's an interim solution for you:  Mark, if you sent me the code to the board I'd be happy to have a look. (Actually being able to do anything about it might be another story, but...).
|
|
|
|
|
Logged
|
|
|
|
|
Chip
|
 |
« Reply #9 on: October 05, 2001, 11:26:04 pm » |
|
Luke Rocks!
|
|
|
|
|
Logged
|
|
|
|
lukpac
Guest
|
 |
« Reply #10 on: October 06, 2001, 08:22:39 am » |
|
Luke Rocks!
That first post doesn't quite make any sense now, does it... 
|
|
|
|
|
Logged
|
|
|
|
sweetepie
Nutjob
Offline
Gender: 
Posts: 804
"Monkey Sitter"
|
 |
« Reply #11 on: October 06, 2001, 11:46:38 am » |
|
WOW--this is way too complicated talk!!! That's why I just use the icons tha are already available--less hassle. That and my computer is so old (8 years old--75MHZ Packard Bell) I don't think I can handle anything else!!! I can barely get on the web!!!  I have to go to school or to my mom's just to get on this website because I can't log in on my computer.....I can get to the site, but that's it. Ok, so yeah I just wanted to say that your methods or exporting and transferring are just too cmpicated. Why not do something simpler?  ? Just a suggestion..... Mr. Computer Programmer, anything??? 
|
|
|
|
|
Logged
|
Me, Myself, and I !!!!!
|
|
|
|
briguy
|
 |
« Reply #12 on: November 28, 2002, 11:38:11 am » |
|
WOW--this is way too complicated talk!!! That's why I just use the icons tha are already available--less hassle. That and my computer is so old (8 years old--75MHZ ?Packard Bell) I don't think I can handle anything else!!! I can barely get on the web!!! ?  Can you believe Laurie said this? My how times have changed!
|
|
|
|
|
Logged
|
I only come back when I want to make sure that I'm still in control
|
|
|
sweetepie
Nutjob
Offline
Gender: 
Posts: 804
"Monkey Sitter"
|
 |
« Reply #13 on: November 28, 2002, 12:06:46 pm » |
|
Can you believe Laurie said this? My how times have changed!
Yeah Briguy, I said that October of 2001 at 2:46 in the afternoon!!!! Since then I do have a better computer--not a P4, or a 2 gig, but it's much much much better than a 8 RAM, 75 MHZ Packard Bell. AND... best of all, it was FREE!!! (Well it cost me dinner for three! Thanks again L and A)
|
|
|
|
|
Logged
|
Me, Myself, and I !!!!!
|
|
|
|