Jump to content

image resize


forcryingoutloud

Recommended Posts

I've found many scripts out there that will upload an image, then create a thumbnail. I understand how they work, but I've been unable to get any of them to properly resize an image on my server. I host my website with 1&1 (you may cringe, but its cheap, and has worked just fine until this problem).

 

After a frustrating exchange of emails with their tech support, I have deduced that there is not enough memory on the server to resize a photo of a decent size (some pics 100k or less work ok)

 

"Upgrade to the Developer Package and it will work..." they say. But I was hoping there was another way...

 

I have installed Gallery2 on the server, and it has no problem resizing images of any size. This is what confuses me...

 

Does anyone have any ideas? A way of controlling how the memory is used on the server?

 

Link to comment
https://forums.phpfreaks.com/topic/69993-image-resize/
Share on other sites

This is the error:

 

=======================

Error 500 - Internal server error

An internal server error has occured!

Please try again later.

=======================

 

What is the code to set the max_execution_time ?

 

ini_set("max_execution_time","200");      ? ? ?

 

And where would I put it? At the beginning of the script?

 

 

 

Thanks for your help...

 

Link to comment
https://forums.phpfreaks.com/topic/69993-image-resize/#findComment-351555
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.