[Radiant] Fwd: Extensions: Asset Manager Demo

Keith Bingman keith at keithbingman.com
Thu Nov 23 11:22:03 CST 2006


>
> I found a few mistakes, things I had forgot to take out when I  
> removed the tags. But I haven't been able to replicate your  
> problem. Does it do this with all images, or just one?
>
> Check out the new version and try again. The acts_as_attachment  
> plugin is having trouble reading the content type. Try it with a  
> few different images and see what happens.
>
> Keith Bingman
> keith at keithbingman.com
> Tel: +49-7731-7983830
>
>
>
> On Nov 23, 2006, at 3:10 PM, Jonathan Métillon wrote:
>
>> Hi Keith,
>>
>> That looks fantastic and that's exactly what I needed. I hope it will
>> be able to generate thumbnails!
>>
>> I followed the installation instructions and the extension is  
>> enabled.
>> I go to the upload image page and input a title and a picture. But
>> when I submit, I get this error:
>>
>>  NoMethodError in Admin/assetController#new
>>
>> undefined method `content_type' for "100_1134.JPG":String
>>
>> RAILS_ROOT: script/../config/..
>> Application Trace | Framework Trace | Full Trace
>>
>> vendor/plugins/acts_as_attachment/lib/technoweenie/ 
>> acts_as_attachment/instance_methods.rb:56:in
>> `uploaded_data='
>> vendor/rails/activerecord/lib/active_record/base.rb:1660:in  
>> `attributes='
>> vendor/rails/activerecord/lib/active_record/base.rb:1659:in  
>> `attributes='

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061123/fdd2c637/attachment.html


More information about the Radiant mailing list