Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #715

PDF Invoices Plugin Image URLs

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

J2Commerce

Version
J2Store/J2Commerce v4

Conversation

Peter Reill

When I use a relative URL for the logo image in the invoice in TinyMCE, the image doesn't appear in the PDF within my profile. As soon as I use the “absolute URLs” option in the plugin, it works.

Olivier Buisard Staff

Hi Peter,

yes, it is like with emails, the paths have to be absolute or else they are not fetched. The PDF invoice is based on the Invoice Template, which needs to have absolute paths for images.

Just make sure the editor used does not 'clean' the paths on save.

Olivier.

Peter Reill

Hi Olivier,

That’s exactly what I expected. However, despite using relative URLs, all the images appeared in the email and the attached PDF. They just didn’t show up in the profile section. That surprised me.

Olivier Buisard Staff

Peter, can you add credentials to this ticket (in the form fields you can find for that purpose), I woud like to check your setup. Thanks!

Olivier.

Peter Reill

Unfortunately, that's not possible at the moment. For now, we're using the "absolute URLs" setting in TinyMCE.