Link Details

Link 8936 thumbnail
User 111696 avatar

By bloid
via systemcoder.blogspot.com
Published: Dec 13 2006 / 04:59

My web language of choice is PHP and so here is a short walkthrough, including code, on how to create a picture resizing function. This function can both keep the aspect ratio of the picture, or force the picture to fit the new dimensions. It is designed for jpeg pictures but can easily be extended to cater for gif and png.
  • 14
  • 0
  • 906
  • 203

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.