Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images seem to start some where at the end of the page #125

anexiole opened this Issue Jun 24, 2010 · 3 comments


None yet
3 participants
Copy link

anexiole commented Jun 24, 2010

I have the following source code. Run it. Observe that the images consistently

  1. get placed at the bottom of pages
  2. cause a new page to be made for each image

------------- Start ------------------------------------------
require 'prawn'
require 'open-uri'

Prawn::Document.generate("test_basic_images.pdf", :page_layout => :landscape) do
image open( '')

text 'This is a title'


details =
details.push( [ 'Category: ' +  ' t-shirts' ])
  [ 'Sub category: threadless' ]

details.push( ['Description:  Nice white t shirts suitable for company promo.' ] )

details.push( [ 'Location: Victoria '  ] )
details.push( [ 'Contact: Gordon' ] )

text 'Please confirm all details with the seller.'
text 'Printed on ' +"%I:%M%p %Y-%m-%d")

image open ''
image open ''
image open ''


------------End -------------------------------------------------

-- Also advised by Gregory Brown to log this as an issue.
Refer to


This comment has been minimized.

Copy link

paramaw commented Jul 12, 2010

I'm also having the same problem, any solution to this?


This comment has been minimized.


This comment has been minimized.

Copy link

bradediger commented Sep 25, 2010

This was resolved by 3ecde63.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.