Notifications
Clear all

Thumbnail Images from Website Disappear After activating WPdiscuz

2 Posts
2 Users
0 Likes
1,140 Views
(@richarpower)
New Member
Joined: 5 years ago
Posts: 1
Topic starter  

Hi,

I changed the location where wordpress stores images from the standard "wp-content-uploads'' to a custom IMG folder  editing wp-config.php and adding define( 'UPLOADS', ''.'img' );

When i activate WPdiscuz plugin, all thumbnails from my  website disappear. For some reason, WPdiscuz changes the behavior from the wp function "the_post_thumbnail".

Instead of returning the custom url where my images are stored, wp discuz interferes whith this function and changes the custom path ,where my images are, to the standard "wp-content-uploads", causing my thumbs to vanish as there is no image inside this folder. 

 

Example: correct path

 https://mysite.com/img/image.jpg 

is changed to the default incorrect one

https:// mysite.com/wp-content/uploads/image.jpg

 

How do I fix that as your comments plugin is the best in my opinion.  

 

Thanks.

This topic was modified 5 years ago by richarpower

   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

Hi @richarpower,

First of all, thank you for using wpDiscuz and for contacting us.

I'm sorry, but wpDiscuz doesn't have any relation to this.  wpDiscuz doesn't change this path. Please try to find this problem maker plugin, it might be the active theme as well. 


   
ReplyQuote
Share:
Scroll to top