Page 1 of 1

Couldnot add image from plugin

Posted: Thu Jul 11, 2019 8:34 am
by jemiris
Hi support,

I have an image in the path Below :idea:
Code: Select all
/opt/
plugins/
deleteCases/
deleteCases/
public_html
employee-profile.png
:arrow: When i tried to add in the in html tag like this
Code: Select all
<img src="../employee-profile.png" style="margin-left: 50px; border: 0; margin-top: 10px;width: 17%;" title="My Doc" alt="Documents" />
It's not working :?: It shows as like below image :idea:
test.png
test.png (2.66 KiB) Viewed 384 times

Re: Couldnot add image from plugin

Posted: Thu Jul 11, 2019 10:08 pm
by amosbatto
If the path on your server is /opt/plugins/deleteCases/deleteCases/public_html/employee-profile.png, then you can use this HTML:
Code: Select all
<img src="/plugin/deleteCases/employee-profile.png" style="margin-left: 50px; border: 0; margin-top: 10px;width: 17%;" title="My Doc" alt="Documents" />
You can display the image in your web browser with this URL:
http://{your-domain-or-ip}/plugin/deleteCases/employee-profile.png

Re: Couldnot add image from plugin

Posted: Thu Jul 11, 2019 10:33 pm
by amosbatto
I added a note to the documentation to explain this:
https://wiki.processmaker.com/3.0/Plugi ... ystem_Logo

Re: Couldnot add image from plugin

Posted: Fri Jul 12, 2019 12:29 am
by jemiris
Thanks a lot, :P . It works well. Thank you for the quick responses of all my queries it helps me to do more and explore.
Thanks to ProcessMaker and Support Team :P