Hey, i have a portfolio and it makes it way easier to show thumbnails using timthumb.php:
link:
TimThumb PHP Script Released | Darren Hoyt Dot Com
Sourcecode:
http://timthumb.googlecode.com/svn/trunk/timthumb.php
the problem is... it seems that the way timthumb 'zooms in' is on exactly the middle of the image. It takes the image, scales it down so the aspect ratio stays the same, but instead of choosing the top of the image it goes to the middle.
is there any way i can get it to keep its aspect ratio, but at the top of the image (this is where the graphical elements of my designs are most prominant.) Instead it keeps zooming in on the middle where its only boring whitespace or text
I have looked at the php file to try and figure it out myself but all the logic loops and variables and math equations or recursions or mastications or masturbations make my head fucking hurt.
Thanks
link:
TimThumb PHP Script Released | Darren Hoyt Dot Com
Sourcecode:
http://timthumb.googlecode.com/svn/trunk/timthumb.php
the problem is... it seems that the way timthumb 'zooms in' is on exactly the middle of the image. It takes the image, scales it down so the aspect ratio stays the same, but instead of choosing the top of the image it goes to the middle.
is there any way i can get it to keep its aspect ratio, but at the top of the image (this is where the graphical elements of my designs are most prominant.) Instead it keeps zooming in on the middle where its only boring whitespace or text
I have looked at the php file to try and figure it out myself but all the logic loops and variables and math equations or recursions or mastications or masturbations make my head fucking hurt.
Thanks