Title: Feature request!
Last modified: August 30, 2016

---

# Feature request!

 *  [Optiroot](https://wordpress.org/support/users/optiroot/)
 * (@optiroot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/)
 * Hi gVectors!
    I was reading the features of wpDiscuz and I jumped into this: **
   Automatic image source URLs to image (HTML) conversion in comment texts** So…
   I would know if you could insert an option to set if this should happen or not…
   Sincerely I would that image links, remain images and people need to click on
   the link to view the image (like in this forum). Could you please add this? Would
   be great!
 * [https://wordpress.org/plugins/wpdiscuz/](https://wordpress.org/plugins/wpdiscuz/)

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

 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/#post-6192640)
 * Hi Optiroot,
    That’s already in our to-do list, we add options for all existing
   features. Anything should be customizable in wpDiscuz, the image url to image
   conversion as well.
 *  Thread Starter [Optiroot](https://wordpress.org/support/users/optiroot/)
 * (@optiroot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/#post-6192726)
 * Hi, perfect! That’s great.
    I would that my website must be really clean. You
   know, people can publish really everything. For now, there is a way so I can 
   disable the automatic conversion into images of links? Even deleting a line of
   code or something similiar?
 * Anyway if it’s possible, could you insert an option to moderate just comments
   with images?
    This’d be the greatest thing of ever! Thank you in any case! (I
   know for this feature you could take a bit, so I’m not expecting, if you accept,
   that this feature comes out with the next version!).
 * Thank you again!
 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/#post-6192749)
 * Hi Optiroot,
 * > You know, people can publish really everything.
   >  For now, there is a way so
   > I can disable the automatic conversion into images of links? Even deleting 
   > a line of code or something similiar?
 * Please open /wpdiscuz/includes/wc-helper.php
    Find this code:
 *     ```
       $ret = preg_replace('#[^\"|\'](https?:\/\/[^\s]+(\.jpe?g|\.png|\.gif|\.bmp))#i', '<a href="$1"><img src="$1" /></a>', $ret);
       ```
   
 * Change it to this:
 *     ```
       $ret = preg_replace('#[^\"|\'](https?:\/\/[^\s]+(\.jpe?g|\.png|\.gif|\.bmp))#i', '<a href="$1">$1</a>', $ret);
       ```
   
 * > Anyway if it’s possible, could you insert an option to moderate just comments
   > with images?
 * Yes, that’s possible, but it’s out of our to-do list by now, we’ll think about
   to add it once we finished with already planned things.
 *  Thread Starter [Optiroot](https://wordpress.org/support/users/optiroot/)
 * (@optiroot)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/#post-6192754)
 * Okay, thank you so much.
    I tried the modification of the code and it works.
 * So, I’ll wait for the introduction of this feature, it’ll be great!
 * Thank you again.

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

The topic ‘Feature request!’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Optiroot](https://wordpress.org/support/users/optiroot/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/feature-request-329/#post-6192754)
 * Status: not resolved