What Heroku stack are you on? I remember choosing the Bamboo 1.8.7 stack
about a year ago because of RMagick problems at the time on the 1.9.2 stack.
I haven't since tested on 1.9.2.

I updated to Rails 3.0.x and DragonFly 0.8.x earlier this year, but not to
DragonFly 0.9.x yet.

In my Gemfile, I state:
gem 'dragonfly', '~> 0.8.1'
gem 'rmagick', '2.12.2', :require => 'RMagick'

Try the second line in your own Gemfile.

In my views, I use:
<%= image_tag @news_item.main_image.thumb('500x1000').url(:suffix =>
'.jpg'), :alt => @news_item.headline %>

Please report back, as I plan to migrate to 1.9.2 myself at some point this
year.

Stephen




On 9 June 2011 16:43, Dokitura <[email protected]> wrote:

> hi there,
>
> first: i'm still more a rails 3/heroku newbie, working with it since
> beginning of 2011 with it (before worked more with rails 2.3), so i'm
> at least familiar with dragonfly&imagemagick ;).
>
> now to my problem:
> since the last 2 days, i can't display images (jpg, png, gif) anymore,
> when uploaded via form and saved to a dragonfly-image-field, e.g.
> "image_accessor :picture" for field "picutre_uid". that means: the
> uploaded file is saved to database, whereat i don't know if the file-
> format is still correct at the "saving-point" or not. i'm showing them
> by calling the url-attribute on the image-field, e.g. picture.url or
> with scaling picture.process(:resize, '190x150').url.
> the "strange thing" still coming: i'm working with 3 different app-
> versions: 1. locally, 2. test-server (heroku), 3. live-server
> (heroku). all bundled with same Gemfile, of course, but it's only not
> working in the 3rd one(!). the other thing is that i changed nothing
> on Gemfile itself (since last week till today), so that new gem-
> versions maybe could resolve some bugs ... no! (today only bundle
> updated for fixing purposes).
> i read in some forums, that rmagick/imagemagick needs to have it image-
> libs installed on app-environment(...?), e.g. jpg -> jpglib, gif ->
> tifflib (don't remember exact names, sry). so heroku needs to have
> installed some of these, i guess.
>
> gem versions: dragonfly => 0.9.3 and rmagick => 2.13.1
>
> also, server log tells me these errors:
> > convert: no decode delegate for this image format
> `/app/tmp/dragonfly20110609-1-d7u3jk-0' @ error/constitute.c/ReadImage/533.
> > convert: missing an image filename
> `/app/tmp/dragonfly20110609-1-1cg3lvy-0' @
> error/convert.c/ConvertImageCommand/2940.
>
> the frustrating thing is, my testing possibilies are very rare, e.g.
> testing locally, because all working fine there, as i said before. so,
> hopefully some guys of you maybe got an idea to get me on the way
> fixing this. i would appreciate it very much! thx :)
>
> greetings,
> dokitura
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to