ngrmm Posted April 1, 2016 Posted April 1, 2016 i'm getting this error, but only with a certian image. all other uploads work fine. Error: Out of memory (allocated 34865152) (tried to allocate 5062401 bytes) (line 1655 of /homepages/41/d13349310/htdocs/temp/tmp/wire/core/ImageSizer.php) this is my code: <div class="thumbs"> <?php foreach($page->images as $image) { $thumb = $image->size(80, 80); $large = $image->height(700); echo "<a href='$large->url' title='$image->description'><img src='$thumb->url'></a>"; } ?> </div>
ngrmm Posted April 1, 2016 Author Posted April 1, 2016 i commented out this line and it works now: imageconvolution($imgBlur, $matrix, 16, 0);
phippu Posted April 21, 2016 Posted April 21, 2016 Hi ngrmm You probably tried to upload an image that has too many pixels, so your allocated memory to PHP is not enough to process your image. I advise you to get that line back in... Your images will look strange without it at some point. You have two options if my assumption is correct: 1. Increase the PHP memory to the maximum 2. if that doesn't help, shrink your images before uploading them. Hope this still helps 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now