Title: CodeWx's Replies | WordPress.org

---

# CodeWx

  [  ](https://wordpress.org/support/users/codewx/)

 *   [Profile](https://wordpress.org/support/users/codewx/)
 *   [Topics Started](https://wordpress.org/support/users/codewx/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codewx/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codewx/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codewx/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codewx/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codewx/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Showing images in comments](https://wordpress.org/support/topic/showing-images-in-comments/)
 *  Thread Starter [CodeWx](https://wordpress.org/support/users/codewx/)
 * (@codewx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/showing-images-in-comments/#post-5736644)
 * That’s it – thanks a million!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Showing images in comments](https://wordpress.org/support/topic/showing-images-in-comments/)
 *  Thread Starter [CodeWx](https://wordpress.org/support/users/codewx/)
 * (@codewx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/showing-images-in-comments/#post-5736641)
 * Oh – one thing I noticed was it does not work with https: images.
 * For example [https://pbs.twimg.com/media/B1ntG_pIMAEHYe3.jpg](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 http**s**?
 * `if ( preg_match('#(https://[^\s]+(?=\.(jpe?g|png|gif)))#i'`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Showing images in comments](https://wordpress.org/support/topic/showing-images-in-comments/)
 *  Thread Starter [CodeWx](https://wordpress.org/support/users/codewx/)
 * (@codewx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/showing-images-in-comments/#post-5736640)
 * Thank you very much for taking the time to look at this for me! Those changes
   worked perfectly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Showing images in comments](https://wordpress.org/support/topic/showing-images-in-comments/)
 *  Thread Starter [CodeWx](https://wordpress.org/support/users/codewx/)
 * (@codewx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/showing-images-in-comments/#post-5736637)
 * Hello,
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Showing images in comments](https://wordpress.org/support/topic/showing-images-in-comments/)
 *  Thread Starter [CodeWx](https://wordpress.org/support/users/codewx/)
 * (@codewx)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/showing-images-in-comments/#post-5736634)
 * Good 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.

Viewing 5 replies - 1 through 5 (of 5 total)