
bret at pectopah
Jan 16, 2012, 6:49 AM
Views: 756
Permalink
|
Hi Zdravko, 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, Bret On Mon, 2012-01-16 at 15:44 +0100, Zdravko Balorda wrote: > Hi, > 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. > > -- Bret Dawson Producer Pectopah Productions Inc. (416) 895-7635 bret [at] pectopah www.pectopah.com
|