Thanks for the reporting. I’m not sure what’s the reason. Is there any chance this website is live with EW plugin active?
Thanks for getting back to me, it is a local development and i am testing the plugin on it
below the message printed on the console
http://localhost.youtagon.com/wordpress/easy-watermark-preview/image-6206-large?t=1613680930529
This is a quick shot of the error, let me know if additional analysis is needed and i can do it
https://ibb.co/Hp9WPs4
Thanks
Hi,
after some analysis, this look like the 404 error because i am having wordpress core files in sub directory (wordpress) http://localhost.youtagon.com/wordpress/easy-watermark-preview/image-6206-large?t=1613680930529
but the preview url rewrite will work correctly if i removed this subdirectory
so using the below url will correctly result in the preview image
http://localhost.youtagon.com/easy-watermark-preview/image-6206-large?t=1613680930529
i am basically have the below folder structure
Giving WordPress Its Own Directory
i hope this help to be able to recommend some fix
So i now only changed this line to replace site_url with home_url and it worked (In file WatermarkPreview.php) and images are showing in the preview. site_url will always include the subfolder while home_url will not include the subfolder wordpress
return add_query_arg( $args, home_url( $base ) );
Thanks for the debugging! I’ll make sure to apply the patch in the next release.
Thanks,
Let me know also if you do accept custom plugin development and how to get in touch for this.
We do 🙂 please reach out via the form: https://bracketspace.com/contact/