WordPress.org

Ready to get started?Download WordPress

Forums

WP Post to PDF
[resolved] TCPDF ERROR: [Image] Unable to get image: https:// (10 posts)

  1. daniel.berry142
    Member
    Posted 2 years 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/

  2. daniel.berry142
    Member
    Posted 2 years 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

  3. akille1972
    Member
    Posted 1 year ago #

    Hi Daniel,
    I have the same problem.
    Can you give me some clear indication to solve it?
    Thank you very much!

  4. co1inr
    Member
    Posted 1 year 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

  5. akille1972
    Member
    Posted 1 year ago #

    Great!
    Now it works!
    Dear Co1inr,
    thank you very much!

  6. Jaabie
    Member
    Posted 1 year ago #

    Can you tell me how to hand edit the URL's i think the plugin is overkill for me?

  7. akille1972
    Member
    Posted 1 year ago #

  8. Jaabie
    Member
    Posted 1 year 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>
     

  9. akille1972
    Member
    Posted 1 year 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

  10. Nina designer
    Member
    Posted 1 year ago #

    Colin, You are a legend, thank you for the plugin suggestion, works a treat!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic