Walter Davis wrote in post #1183529:
> You would define those in your view, just as for any other image type.
> http://apidock.com/rails/ActionView/Helpers/AssetTagHelper/image_tag
>
> Walter
I need to specify different alt/title attributes for the different
uploaded images. I guess I have to create an image model that specifies
an image + title or alt attribute as a string and then nest this model
inside another one (e.g. posts or articles etc..). I am still one week
into rails, but I believe this is the rails way to do it.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/031108fdbac5b35e3c157f44080dea18%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment