AndreasBaumgart / Zend_Filter_ImageSize

Extension for ZendFramework. A Zend_Filter implementation for resizing images.
Other
22 stars 4 forks source link

Bug in Humongous example? #3

Closed alolis closed 11 years ago

alolis commented 11 years ago

Hello,

I am trying to use that example and set my own name for the produced files. In the mentioned example there is a call to $config->setName(...) but that method does not exist in the Polycast_Filter_ImageSize_Configuration_Standard class nor seems implemented in the NamedConfig class of the example. Am I missing something here?

Thanks for your time

AndreasBaumgart commented 11 years ago

Oh, you are right. You aren't missing anything, there was a mistake in the example. The NamedConfig class in the example expects the name passed to the constructor and not by using a setter method (this has been the case at an earlier version of the example).

Has been fixed. Thanks for reporting!

alolis commented 11 years ago

Thanks for the quick response :)