Hi,

if I call image_tag without the :size param, it can happen that, if I
have images of different sizes, they bust my view because they all are
of different sizes. If i call :size => "xxy" in every line of the code
where I want a picture to be force-resized, i repeat myself over and
over, and in the second I get the idea of changing one picture's
dimension, I'm in trouble.

So what I want is my view to say to my model "hi, i want your image
tag" and my model to say "here it is, oh, btw, it has a fixed
resolution of 250x150 px, display this, kkthxbb"

Hope I made it clearer now? :)

Thanks for your help anyway

On Aug 4, 3:40 pm, 7stud -- <[email protected]> wrote:
> I don't know enough about rails to say no.  But I also don't understand
> what you are hoping for.
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to