Hi guys
I have extended the image class so that I can use custom GD resizing but it seems to have broken my files & images section in the CMS which brings up the following error:
Fatal error: Class 'DailyImage' not found in C:\wamp\www\silverstripeSDE\sapphire\filesystem\Folder.php on line 107
The code which extends image is in Page.php and reads:
class DailyImage extends Image {
function generateThumbnailImage($gd) {
$gd->setQuality(75);
return $gd->croppedResize(178,105);
}
}
I had a look in Folder.php but cant figure out whats going on :S
any ideas?
Thanks in advance