LiamC

If I use Fill not FocusFill then it works fine on my memory so its 100% the module leaking memory some how

LiamC

Thanks but its still erroring, I am not sure increasing the memory is going to fix the issue

LiamC

I get a 404 with memory exhausted PHP Fatal error: Allowed memory size of 268435456 bytes exhauste

LiamC

module like - https://github.com/jonom/silverstripe-focuspoint/blob/master/docs/en/basic-usage.md

Show 1 attachment(s)
GitHub  
jonom/silverstripe-focuspoint

Module for improving automatic image cropping in SilverStripe. Adds simple art-direction control by allowing you to set and crop from a focus point instead of the centre point of an image. - jonom/...

Hide attachment content
LiamC

With the focal point module does anyone know why this wont work?

  1. $Image.FocusFill(500,325).URL

LiamC

obviously Created has a time so I am trying to format the time out of it

LiamC

I am trying to get groups that were created today

LiamC

Morning, has anyone got a better way / workable way of me achieving the following?

  1. $Date = $Date->format('Y-m-d');
  2. $Group = GazingaGroup::get()->filter(array("Created.Format('Y-m-d')" => $Date));