Log in

View Full Version : Resolved image size dapended on %



auriaks
11-12-2009, 06:11 PM
hi, I have a 120px x 120px place for picture. but users always uploads too high or too small pictures... Is there php commands to show pictures in my 120x120 place? btw, i thought about % resizing because i dont want to make pictures look sized undinamically. As example i have 150x240 picture, so if i want to use it in my place i have to resize it by 50% and it will be 75x120 .

If you need more info - ask :) Thanks for your time

traq
11-12-2009, 11:05 PM
look into using GD (http://us.php.net/manual/en/book.image.php).

(I''m just getting into it myself - if I run across something useful for you, I'll let you know!)

auriaks
11-12-2009, 11:18 PM
ok, thanks

auriaks
11-13-2009, 03:48 PM
I solved this.