CodeWx
Forum Replies Created
-
Forum: Plugins
In reply to: [Comments - wpDiscuz] Showing images in commentsThat’s it – thanks a million!
Forum: Plugins
In reply to: [Comments - wpDiscuz] Showing images in commentsOh – one thing I noticed was it does not work with https: images.
For example https://pbs.twimg.com/media/B1ntG_pIMAEHYe3.jpg
Will show as a link rather than an image.
Can I add another piece to catch the https?
if ( preg_match('#(https://[^\s]+(?=\.(jpe?g|png|gif)))#i'Forum: Plugins
In reply to: [Comments - wpDiscuz] Showing images in commentsThank you very much for taking the time to look at this for me! Those changes worked perfectly.
Forum: Plugins
In reply to: [Comments - wpDiscuz] Showing images in commentsHello,
I replaced the code as requested – now I get a blank white page.
Do I need to do this in wc.php too?
Forum: Plugins
In reply to: [Comments - wpDiscuz] Showing images in commentsGood morning,
Thank you so much – you are correct if I input the full HTML it does work. Sorry for the misunderstanding.
I know this is outside of the scope of your plugin, but do you know of a way to change image links to HTML code? My users won’t be able to paste HTML code.
Thanks for your time.