Defect #11812

Images displayed in wrong cells in Wiki to PDF export

Added by Alexander Altynchurin about 9 years ago. Updated about 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:PDF export
Target version:-
Resolution: Affected version:1.4.0

Description

If I try to export a Wiki page to a PDF and this page contains table with some images in the cells, then images in output PDF file are displayed in the cell on the right of the original cell where the image should be. Besides that, if a cell row contain two or more images, second and following images are shifted down and corresponding row is stretched vertically. Please see the attached screenshots:

Original wiki page:

Wiki page exported to PDF:

Wiki source for the screenshots is

||1|2|3|4|
|1|A !100x100px.png!|B !200x100px.png!|C !200x100px.png!|D !400x200px.png!|

||1|2|3|4|
||!100x100px.png!||||
|||!200x100px.png!|||
||||!200x100px.png!||
|||||!400x200px.png!|

Ouput of rake script/about

About your application's environment
Ruby version              1.8.7 (i386-mingw32)
RubyGems version          1.6.2
Rack version              1.1.3
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Application root          D:/Program Files/BitNami Redmine Stack/apps/redmine
Environment               production
Database adapter          mysql
Database schema version   20120301153455

original_tables_in_wiki.png (21.5 KB) Alexander Altynchurin, 2012-09-11 14:08

tables_in_pdf.png (39.6 KB) Alexander Altynchurin, 2012-09-11 14:08

original_tables_in_wiki_small.png (7.98 KB) Alexander Altynchurin, 2012-09-11 14:08

tables_in_pdf_small.png (5.56 KB) Alexander Altynchurin, 2012-09-11 14:08

100x100px.png (1.14 KB) Alexander Altynchurin, 2012-09-11 14:55

200x100px.png (1.91 KB) Alexander Altynchurin, 2012-09-11 14:55

400x200px.png (3.81 KB) Alexander Altynchurin, 2012-09-11 14:55

History

#1 Updated by Alexander Altynchurin about 9 years ago

Sample images are attached here

Also available in: Atom PDF