AnsweredAssumed Answered

Display an image from the repository in a web page

Question asked by denz on Nov 22, 2016
Latest reply on Feb 10, 2017 by denz

Hi,

This is simply question from a newbie :

- how can I display an image from the repository in a web page ? (without login...) 

(for example on a webpage <img src="myimage.jpg">)

 

 

Actually,

I've got a webscript "MyWebScript" that I can't modidy (I don't have access to the server system), but I override it with Share (in "/Company Home/Data Dictionary/Web Scripts/MyWebScript")

It works fine with the page.get.html.ftl file (and others) but doesn't work to override a JS script

 

I've got an amp file and I found this :

In one hand i've got :

\alfresco\config\alfresco\extension\templates\webscripts\fr\MyWebScript\page.get.html.ftl (and other files)

and in the other hand i've got :

\alfresco\source\web\scripts\MyWebScript\myscript.js (and other files)

 

My second question is "How can override "myscript.js" from share ?"

 

I tryed many ways but all failed.

 

Thanks a lot to help me to find anwsers to this 2 questions (hope you understand me -_-')

 

____________

Wtih Alfresco Community 4.2.f

Outcomes