i am using php tp upload images.... i was wondering
- how to create thumbnails of images ?
- how to customize their dimensions & proportions ?
i am using php tp upload images.... i was wondering
I've been using a class I found when I needed to do the same thing and so far, with few modifications it works great. Here you go: SimpleImage Class
<?php
include('SimpleImage.php');
$image = new SimpleImage();
$image->load('picture.jpg');
$image->resize(250,400);
$image->save('picture2.jpg');
// and a lot more examples at the class website.
?>
If this does not suit your needs, php manual has lots of functions to help you achieving what you need. Image