Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users
Re: image upload
 

Index | Next | Previous | View Flat


bret at pectopah

Jan 16, 2012, 6:49 AM


Views: 1057
Permalink
Re: image upload [In reply to]

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

Subject User Time
image upload zdravko.balorda at siix Jan 16, 2012, 6:44 AM
    Re: image upload bret at pectopah Jan 16, 2012, 6:49 AM
        Re: image upload zdravko.balorda at siix Jan 16, 2012, 7:00 AM
            Re: image upload david at justatheory Jan 16, 2012, 9:17 AM
    Re: image upload bret at pectopah Jan 16, 2012, 6:49 AM
    Re: image upload zdravko.balorda at siix Jan 16, 2012, 11:54 PM
        Re: image upload david at justatheory Jan 17, 2012, 9:24 AM
    Re: image upload zdravko.balorda at siix Jan 17, 2012, 10:07 PM
        Re: image upload david at kineticode Jan 17, 2012, 10:58 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.