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
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
Share on other sites

Turn off show friendly error messages in your browser. This might give you a better indication of whats going on.

 

And yes, the ini_set()line you wrote is correct. Placing it at the beginning of the script is probably the best place for it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.