Broken images after PDF creation

Hello all,

well, I ran out of ideas…

My Situation:
I installed SuiteCRM 7.11.2 freshly. There are no changes or additional modules.All Folders are 775
I created a Quote, invoice, …
I created a PDF-Template with an Image/logo
In the “preview” the logo is perfectly visible. So the logo-URL is accessible.

Result: the logo is shown as a broken Image (red X)

What I tried:
Using logo.jpg instead of logo.png or logo.gif
Checking for GD --> is up-to-date and running
Checking for imagemagick --> is up-to-date and running
Chmodded all Folders to 777
In an other thread there was mentioned a fix, this fix seemed to be already implemented in newer versions
Ran a repait cycle (Admin - repair)

Right now I am running a Workaround:
I uploaded the logo to /modules/AOS_PDF_Templates/PDF_Lib/includes and renamed it to no_image.jpg

This Workaround Shows the logo on the PDF. Thus, I guess mpdf is working fine.

Instead of working around I like to fix this issue.

Any help or any ideas are appreciated.

Cheers

Hi,
Can you please try by Uploading the image manually into Uploads directory?

You could use free FTP solution to upload Images to /upload/ folder at root. And them get full URL to you PDF templete setup : like this below

logo-here

Careful with HTTP or HTTPS that’s all !

Thank you for your Suggestion, I tried that - no other result than a broken Image.

Try with_in this: Remove .htaccess file at upload folder. this htaccess block your image show all (edit and view)

Was there a solution for this?

Hi,

since I don’t use 7.11.2 anymore… no.

We made a new installation on a different machine with the latest version.

Runs like charm…

I am using 7.11.6 and having no luck

  <img style="float: right;" src="./public/logo.png" alt="logo-here" />

While public is chmod 775

This should do the trick on 7.11.6 also…
Ok… logo.png need to exist in the folder public…