Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barcode plugin doesn't show image in invoice #318

Open
anon059 opened this issue Jan 5, 2024 · 2 comments
Open

Barcode plugin doesn't show image in invoice #318

anon059 opened this issue Jan 5, 2024 · 2 comments

Comments

@anon059
Copy link

anon059 commented Jan 5, 2024

@janprochazkacz and @drlikm I really appreciate your work on Barcode plugin, searching this thing for a very long time!

I have found this plugin: https://github.com/Ubiquiti-App/UCRM-plugins/pull/256/commits

I have uploaded it into my UCRM plugins section, but if I add <img src="https://www.myUISPinstance.com/crm/_plugins/barcode_generator/public.php?code=someThingsHere&type=PDF417&width=75&height=75&color=black"> into twig template it shows nothing.

Even tried to replace www.myUISPinstance.com with localhost, local IP address etc.

it doesn't show image in PDF invoice, only "Image not found or type unknown"

If I access to image link directly from web browser, it will download .svg image (without sensitive info, of course).

What am I missing here? I tried to load external image into invoice template to verify it's not plugin error, for example https://www.google.com/images/errors/robot.png and had same error.

What am I missing there?

@janprochazkacz
Copy link
Collaborator

Hi @anon059.
First, I have to warn you that this plugin is not ready to use yet.
Your problem is probably caused by an insecure connection to your server with the barcode image.

@anon059
Copy link
Author

anon059 commented Jan 9, 2024

thanks @janprochazkacz
issue was with self signed SSL cert on UISP host.
may i get any more info about what is not ready yet? I'll use PDF417 to generate codes

EDIT: what's escape char for new line?

@anon059 anon059 closed this as completed Jan 9, 2024
@anon059 anon059 reopened this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants