Error when resize image in image block
I keep getting an error every time i try to constrain the size of one particular image on our site.
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 268435456 bytes exhausted (tried to allocate 69764689 bytes)
$transparent = imagecolorallocatealpha($resource, 255, 255, 255, 127);
imagefill($resource, 0, 0, $transparent);
Any help please?