Welcome to Dream.In.Code
Become a PHP Expert!

Join 137,432 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,908 people online right now. Registration is fast and FREE... Join Now!




Image resize

 
Reply to this topicStart new topic

Image resize

k0b13r
17 Jan, 2008 - 04:36 PM
Post #1

D.I.C Head
Group Icon

Joined: 18 Jul, 2006
Posts: 196



Thanked: 1 times
Dream Kudos: 250
My Contributions
Hi. I used some code to resize images with PHP via GD library, but I got some problem. Code works fine (it's mosty taken from php.net example), it outputs an image, but when image size is about 2,5 megabytes, I don't get anything. With about 1-1,5 megabytes everythings works fine. I'm using imagecopyresampled(); function to resize image. I was seeking in php.ini for something to handle this, but I've found nothing. Can anyone help? Thanks for fast answer.

I've found it biggrin.gif I had to change memory_limit, and everything works fine now biggrin.gif

This post has been edited by k0b13r: 18 Jan, 2008 - 03:16 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/5/08 05:03AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month