Maddy wrote in post #1072965:
> Hi folks,
>
> Am generating  table vales as pdf file.I need to call my images in that
> pdf
> generated file..
>
> how could i call??
>
> its is my actual image directory "/assets/images/logo.png"

I think, if I understand you correctly, you're looking for this:

----------------
text "The image will go right below this line of text."
image "#{Prawn::DATADIR}/images/pigs.jpg"
----------------

This example was extracted directly from the Prawn manual:
http://prawn.majesticseacreature.com/manual.pdf

-- 
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to