Jump to content

Recommended Posts

Hey everybody,

 

so here is the problem:

 

In my site I have something like 100 + usres online most of the time. When some image is uploaded and shown for the first time phpThumbs generates an image with the given width and height, but because a lot of ppl open the site at the same time the script fulls up all the avaliable memory because it dosnt have enough time to generate the image from the first opening and it tries and tries and tries and .. at the end ... crash.  I dont have a clue why was I such an idiot and used phpthumbs, but now i'm paying for that. Has anybody had a problem like this before? Maybe there is a way to make it work. I had some idea to call the script when the images are uploaded from the administration before its actually shown in the front-end, but i'll try doin that if i can find no help over teh net.  Thanks in advance.

 

Regards

Link to comment
https://forums.phpfreaks.com/topic/183125-phpthumbs-carshes-my-site/
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.