Feature #9693

support external url images in PDF

Added by Toshi MARUYAMA about 6 years ago. Updated about 4 years ago.

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

0%

Category:PDF export
Target version:-
Resolution:Wont fix

Description

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

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


Related issues

Related to Redmine - Feature #3261: support attachment images in PDF export Closed 2009-04-29

History

#1 Updated by Toshi MARUYAMA about 6 years ago

  • Description updated (diff)

#2 Updated by Toshi MARUYAMA about 6 years ago

  • Description updated (diff)

#3 Updated by Masamitsu Murase almost 6 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

#4 Updated by Toshi MARUYAMA almost 6 years ago

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

#5 Updated by Masamitsu Murase almost 6 years ago

Thank you for your reply.

Regards,
Murase

#6 Updated by Jean-Philippe Lang almost 6 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.

#7 Updated by Dieter Egert over 5 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.

#8 Updated by yac yac about 5 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?

#9 Updated by Rachid B about 4 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.

Also available in: Atom PDF