bret at pectopah
Jan 16, 2012, 6:49 AM
Bric::Biz::Asset::Business::Media::Image only likes actual image files.
If you're creating media assets using other file types, such as JSON,
you should use a Bric::BiZ::Asset::Business::Media object instead.
Hope this makes sense,
On Mon, 2012-01-16 at 15:44 +0100, Zdravko Balorda wrote:
> how on earth one can get such a message:
> Error retrieving data from image.
> upon calling:
> $superg->upload_file($fh, "superg.js");
> It crashes at Bric::App::MediaFunc::_get_image_info().
> Even deleting and reloading $superg media doesn't help.
> It's just a json object, nothing fancy, that I need to
> update from template.
> Any help very wellcome. Thanks, Zdravko.
Pectopah Productions Inc.
bret [at] pectopah