Thanks for all the hard work on wp2static. I am having issues with the plugin. The problem is that images in my site are not being crawled and packaged using the zip method. This is one of the images that is not being packaged.
<img image_height="238" image_id="2541" title="ptc_partner_network_special-color" src="https://ws.iqnox.dev/wp-content/uploads/2020/08/ptc_partner_network_special-color.png" data-orig-src="https://ws.iqnox.dev/wp-content/uploads/2020/08/ptc_partner_network_special-color.png" class="img-responsive wp-image-2541 lazyloaded" width="792">
The original website is here - https://ws.iqnox.dev/
This is the site that is generated by your plugin - https://ws2.iqnox.dev/
I am not sure what could be the reason I even tried adding the relative path of the link to the include list but still no dice.
Any help would be apritidated. Ill be around to answer any questions.
Could you please confirm which version of the plugin you’re using?
When I check the exported site, I’m seeing something like
image_id="2541" title="ptc_partner_network_special-color" src="data:image/svg+xml,%3Csvg%20x
Are you using a plugin that inlines the images as an optimization technique? Whilst it should work OK, I suggest trying to disable all such plugins and verifying which one is causing the output to change like that. Then, there may be some tweaks we can do to have it export nicely.
Thanks for the quick response Leon,
data-orig-src attribute in some cases. It looks like the URL to the image is there in the original source code of the site.
So, it may be simpler issue here, in that the file is just not included in the export:
So, if you manually copy that file from the dev site to the static site, will everything load as expected?
If so, we’ve got an issue with that particular source code style in the dev site and will need to fix the plugin.