Image cells not displaying in the right place

14 views
Skip to first unread message

herby....@therunthrough.com

unread,
May 13, 2013, 9:32:48 PM5/13/13
to prawn...@googlegroups.com
Hi All 

I have a table with image cells in the first column. From time to time the images end up in the wrong cell.  I'm not quite sure what the cause of the problem is.

If you take a look at the two screen shots below you'll notice that the image that is supposed to be in the in first cell of the first row is blank.  It ends up showing up mysteriously in the first row on the second page after the page break.  



My guess is that somehow this is related to the page break but I could just have easily done something stupid in my code. Below is gist with the relevant bits. 


Thanks

herby....@therunthrough.com

unread,
May 23, 2013, 8:28:12 PM5/23/13
to prawn...@googlegroups.com
RESOLVED!!!

I think I solved the problem by applying the :fit property to the images so that they don't flow outside the boundary of the containing cell.

Thanks
Reply all
Reply to author
Forward
0 new messages