Project

General

Profile

Actions

Bug #3293

closed

PDF export of documents does not include simple images

Added by Yannick Warnier over 12 years ago. Updated over 12 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
21/04/2011
Due date:
% Done:

70%

Estimated time:
1:00 h
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
5

Description

If you try to export an image (or one of the steps of a learning path being an image), it just gives the name of the image. It should include the image. I don't know how difficult this might be though, because the size of the image can be larger than the PDF page width or height. I would say by default bring it back to max 400px in with and 600px in height...

Actions #1

Updated by Julio Montoya over 12 years ago

well, this is a feature, I remember that the "export to pdf" thing was only enabled with html files, i will try it

Actions #2

Updated by Julio Montoya over 12 years ago

  • Status changed from Assigned to Needs more info
  • % Done changed from 0 to 70

I sent this commit http://code.google.com/p/chamilo/source/detail?r=945c08227fb0d14f86d9dbcb0b1e09597429869b&repo=classic

I test it with a huge image 3000px4000px and it seams that it works well, what I do is just send the image in a HTML file <img src="">

Actions #3

Updated by Yannick Warnier over 12 years ago

  • Status changed from Needs more info to Bug resolved

Somehow I remember having the PDF export enabled for images... OK, good then. I tried it with a learning path with an image and it worked very well!

Actions

Also available in: Atom PDF