Project

General

Profile

Actions

Feature #9693

open

support external url images in PDF

Added by Toshi MARUYAMA about 12 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Resolution:
Wont fix

Description

#3261 supports attachment images in PDF.
Supporting external url images has some considerations.
I attach the patch for this feature.


Files

pdf-external-url.diff (830 Bytes) pdf-external-url.diff Toshi MARUYAMA, 2011-11-29 23:44

Related issues

Related to Redmine - Feature #3261: support attachment images in PDF exportClosedToshi MARUYAMA2009-04-29

Actions
Actions #1

Updated by Toshi MARUYAMA about 12 years ago

  • Description updated (diff)
Actions #2

Updated by Toshi MARUYAMA about 12 years ago

  • Description updated (diff)
Actions #3

Updated by Masamitsu Murase about 12 years ago

Hi, Maruyama-san,

I would like to know the detail about "Supporting external url images has some considerations".
What does "some considerations" mean?

For example,
  • Some servers cannot access to the external servers because of the network configuration.
  • Servers should not access to the unreliable external resources.

Regards,
Murase

Actions #4

Updated by Toshi MARUYAMA about 12 years ago

My concern is the case that external http server requires Basic Authentication (e.g. Apache .htaccess).

Actions #5

Updated by Masamitsu Murase about 12 years ago

Thank you for your reply.

Regards,
Murase

Actions #6

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Being able to make the Redmine server retrieve files from arbitrary urls is unsafe and I prefer that we stay away from that.

Actions #7

Updated by Dieter Egert almost 12 years ago

Jean-Philippe Lang wrote:

Being able to make the Redmine server retrieve files from arbitrary urls is unsafe and I prefer that we stay away from that.

So what about to retrieve files from local server?
I use pictures stored in file repository or other local directories (instead of 'New File') on wiki pages.
E.g. with a link like !/img/pictures.png! or !/redmine/projects/common/repository/raw/picture.jpg!
These pictures are also not displayed in pdf exports.

Actions #8

Updated by yac yac over 11 years ago

  • Status changed from Closed to Reopened

Dieter Egert wrote:

E.g. with a link like !/img/pictures.png! or !/redmine/projects/common/repository/raw/picture.jpg!
These pictures are also not displayed in pdf exports.

+1

also I dont see an issue with supporting images from external sources. Why dont let the redmine user decide if he want to use it or not?

Actions #9

Updated by Rachid B over 10 years ago

+1
we use graphviz and plantuml quite extensive in redmine wiki. So the PDF-Export is not usable for us. We have to copy and paste every wiki page to ms-word and printing it to pdf.
It would be much easier, if we the pdf-export could include local images.

Actions #10

Updated by Bernhard Rohloff over 2 years ago

+1 We would like to have the option to include linked images from at least the same domain, for the same reason as Rachid B.
In our scenario we include diagrams from a local plantuml server into the wiki and it's quite unfortunate that we cannot export it to pdf without jumping hoops.

Actions

Also available in: Atom PDF