AnsweredAssumed Answered

How to import a logo.png into a custom widget

Question asked by Libetti on Nov 28, 2019
Latest reply on Dec 8, 2019 by taungesriaustralia-com-au-esridist

I am looking to add a footer to my custom widget which includes a logo.png of my institution. I add the .png to apps/2/widgets/customwidget/images folder and import them as an html <img> tag but the root directory that is searched for the images folder is apps/2. I want this custom widget to be as plug and play portable as possible and therefore need the images to remain in the customwidget folder. Is there any way to import images from within the customwidget directory?