Post images not included
the images of the post content are not shown in the generated PDF.
I analysed the issue and found out that it is related to the virtual directory / rewrite rules.
In older wordpress installations the folder “files” is the main directory of all media Uploads which is set to the blog upload folder with a rewrite rule.
The URLs are saved relative in the post content, so without http://.
The problem is, that the images are not found, when the PDF is generated (/files/file.jpg is not a local path)
Is there any workaround?
When all imagesare saved with http://domain/files/file.jpg does it work or is a local path necessary? If it should work, is there a way to rewrite all images files to the absolute URL before the PDF is generated?
- The topic ‘Post images not included’ is closed to new replies.