Project

General

Profile

Actions

Defect #11812

open

Images displayed in wrong cells in Wiki to PDF export

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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


Files

original_tables_in_wiki.png (21.5 KB) original_tables_in_wiki.png Alexander Altynchurin, 2012-09-11 14:08
tables_in_pdf.png (39.6 KB) tables_in_pdf.png Alexander Altynchurin, 2012-09-11 14:08
original_tables_in_wiki_small.png (7.98 KB) original_tables_in_wiki_small.png Alexander Altynchurin, 2012-09-11 14:08
tables_in_pdf_small.png (5.56 KB) tables_in_pdf_small.png Alexander Altynchurin, 2012-09-11 14:08
100x100px.png (1.14 KB) 100x100px.png Alexander Altynchurin, 2012-09-11 14:55
200x100px.png (1.91 KB) 200x100px.png Alexander Altynchurin, 2012-09-11 14:55
400x200px.png (3.81 KB) 400x200px.png Alexander Altynchurin, 2012-09-11 14:55
Actions #1

Updated by Alexander Altynchurin about 12 years ago

Sample images are attached here

Actions

Also available in: Atom PDF