01-31-2010, 09:57 AM
(01-31-2010, 09:42 AM)thekid65 Wrote: I gave you a update on my boring-ass life, which consisted of watching SOA last night. Move the godamned thing if you dont like where its at, or better yet, go find a resize pic mod for this crap software so Frank will quit whining.
You dolt, if you need to trim the size of an image linked with the img tags you can.
Code:
[img=50x50]http://www.php.net/images/php.gif[/img]
And how do you get the appropriate numbers? Take the full size of the image and multiple both numbers by the same tenths multiplier. What I usually do is divide the max width I want by the current width to get my percentage, and then multiply the original numbers by the percentage I get.
For example, say I have an image that is 1024x768, but the max width I want is 600.
600⁄1024 = 0.5859375
Which I trim back to .58, or 58%
Then I multiple both dimensions by .58
which results in 594x445
Soooo hard. Lazy fucks.