Strange.
I downloaded and tested your component in local Joomla 3.6, it works like a charm.
Did you tried on a fresh Joomla install ?
Which PHP version ? Maybe you have a more recent version than me.
The following code (causing the error), is not used for you at the moment, because the images filters are not used yet. It is gonna come in future, but at the moment, you might not use them. Filters are complex because they are flexible structures. This is Joomla coding problem wich forces me to do this weird code.
It will evolve for sure. But at the moment it should work.
Solution : comment/remove all this part :
foreach(get_object_vars($attribs->filters) as $filter => $value)
{
if (is_object($value))
$value = JArrayHelper::fromObject($value);
if (is_array($value))
$value = $value[array_keys($value)[0]];
$filters[] = $filter . ($value?':'.$value:'');
}
But I am very curious about it because the code is ok. Maybe a recent version of PHP do not allow that way of coding.