Hey Chris,
Thanks for replying.
Dont worry about it, I got so p*ssed that I just
striped the whole thing down to pretty much just the
imagecopyresized() function, fiddled around with it to
see how it works and got the sh*t working. The good
thing now is I understand a bit better how the
function
I think you've a couple of problems with your second problem (problem
problem problem).
First of all, you're setting $dst_h to 0, which gives you a height of 0
- IIRC that's not what you wanted :)
You should be setting that $dst_h = 120 as you always want it to be 120px
I reckon that your code
how to best
do that.
-TG
> -Original Message-
> From: Mag [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 15, 2004 2:00 PM
> To: Gryffyn, Trevor
> Cc: php php
> Subject: RE: [PHP] Advanced maths help (part 2)
>
>
> Hi Trevor,
>
> Sorry, am just a bit confu
Hi Trevor,
Sorry, am just a bit confused myself mostly because I
am using a third party script to clip the 120x90 part
out of the image...understanding the way the script is
written is a little frustrating as it was written for
something else and I am trying to adopt it.
if you want to try your h
My interpretation of Problem 2 before was that you wanted to get a 120w
x 90h (?) section of the original image, not of the thumbnail you
generated by resizing the original.
You seem to be working off of the adjusted height.
Sorry, I didn't noodle all the way through this one, what I am missing?
5 matches
Mail list logo