daniel.berry142
Member
Posted 11 months ago #
Hi
when i try and edit any of my pages i get this error when i press the publish button.
TCPDF ERROR: [Image] Unable to get image: https://site.com/wp-content/uploads/2012/06/061912_0538_ExchangeInf1.png
I have subsituted site.com in where my domain is (its an internal domain)
if i type the address url into my browser the image starts up fine
when i disable the plugin everything works fine
i upload my content using microsoft word.
any ideas what the issue may be?
http://wordpress.org/extend/plugins/wp-post-to-pdf/
daniel.berry142
Member
Posted 11 months ago #
i worked it out in the properties of the images. in the css class if i put alignnone it then works weird but aleast i have a solution
akille1972
Member
Posted 5 months ago #
Hi Daniel,
I have the same problem.
Can you give me some clear indication to solve it?
Thank you very much!
co1inr
Member
Posted 5 months ago #
I was getting the same error on any post with one or more images in it even though the images were present on the server.
Removing the first part of the URL for the SRC parameters of the images sorted it out. eg:
http://www.mydomain.com/wp-content/uploads/2012/11/my-image.jpg
...becomes...
/wp-content/uploads/2012/11/my-image.jpg
Rather than hand editing these forever though I've now installed this plug-in which does the job for me (even with existing posts):
http://wordpress.org/extend/plugins/root-relative-urls/
HTH
akille1972
Member
Posted 5 months ago #
Great!
Now it works!
Dear Co1inr,
thank you very much!
Can you tell me how to hand edit the URL's i think the plugin is overkill for me?
akille1972
Member
Posted 4 months ago #
Akille, thanks for the quick reply, not sure what I should modify it to look like?
http://shutterliving.com/gangnam-style/
this is how it look at present.
<p style="text-align: center;"><img class="size-full wp-image-4352 aligncenter" title="‘Gangnam Style’ Paris flashmob 08" alt="‘Gangnam Style’ Paris flashmob (1)" src="http://shutterliving.com/wp-content/uploads/2012/11/‘Gangnam-Style’-Paris-flashmob-08.jpg" width="800" height="532" /></p>
akille1972
Member
Posted 4 months ago #
Change to <p style="text-align: center;"><img class="size-full wp-image-4352 aligncenter" title="‘Gangnam Style’ Paris flashmob 08" alt="‘Gangnam Style’ Paris flashmob (1)" src="/wp-content/uploads/2012/11/‘Gangnam-Style’-Paris-flashmob-08.jpg" width="800" height="532" /></p>
Bye
Nina designer
Member
Posted 2 months ago #
Colin, You are a legend, thank you for the plugin suggestion, works a treat!