• Resolved ajg-cal

    (@ajg-cal)


    Hi Lewis

    Possible bug I need to test tonight but might be a particular to my setup!

    I was messing around with a “private” site using the Members plugin (enabling the option “Redirect all logged-out users to the login page … “

    I noticed that all the images in the PDFs generated from private site were missing.

    If I used relative URLs for the images then they appeared in the PDF. I’m using this plugin here as a workaround.

    (src="/wp-content/uploads/2013/12/lightning.jpg" instead of src="https://gunyon.co.uk/wp-content/uploads/2013/12/lightning.jpg"

    Your plugin is not alone in with this issue… mpdf also has a problem with missing images. So it’s maybe the site’s fault rather than the plugin.

    I have some more info tonight! this is just a note

    Cheers

    https://www.ads-software.com/plugins/wp-post-to-pdf-enhanced/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lewis Rosenthal

    (@lewisr)

    I can see how this might happen, though I’m hard pressed to think of a good way around it for now. I think the Relative Image URLs plugin you referenced is probably the best way to deal with the situation.

    Looking forward to hearing whatever else you discover in your testing, and I’ll see about how I might address the situation more effectively.

    Cheers, and thanks!

    Lewis

    Plugin Author Lewis Rosenthal

    (@lewisr)

    Hi, Alex…

    I’m inclined to mark this as resolved, in the sense that we have a workaround using the additional plugin (though I should add something to the FAQ, in case I haven’t already).

    Let me know your thoughts when you have a moment.

    Thanks!

    Lewis

    Thread Starter ajg-cal

    (@ajg-cal)

    Hi Lewis yep that’s fine thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘missing images on private site’ is closed to new replies.