Access repository from wiki page

Description
Lutz
Posts: 6
Joined: Fri Jul 22, 2016 11:19 am

Access repository from wiki page

Postby Lutz » Tue Oct 09, 2018 12:09 pm

Hello

I'm writing some wiki/velocity code.

I want to access the local svn repository to display a picture which is stored in it.
The typical URL is: http://polarion-server/repo/project/..../picture.jpg

I insert html code like this:
<img src="${url}" style="max-height: 400px; max-width: 600px">

It is working but unfortunatly it asks me for a password to the repository.
When there are several pictures I get asked for every one of them.

Is it possible to display picture stored in svn repository and to avoid this?

Thank you very much.

SteffPoint
Posts: 30
Joined: Wed Mar 07, 2018 1:06 pm

Re: Access repository from wiki page

Postby SteffPoint » Thu Oct 11, 2018 5:27 am

Hello,

I am using the following code on a Wiki Page and for me it works without asking for a password:

Code: Select all

<img src="/polarion/svnwebclient/fileDownload.jsp?url=IMAGENAME&crev" height="24" width="24"/>


Does that work for you?

Lutz
Posts: 6
Joined: Fri Jul 22, 2016 11:19 am

Re: Access repository from wiki page

Postby Lutz » Fri Oct 12, 2018 7:19 am

This code has helped me a lot, the authentication window is gone.

Thank you very much.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 9 guests