Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Get all images uploaded to a post via comment

2 Posts
2 Users
0 Likes
714 Views
Brian
Posts: 14
Customer
Topic starter
(@webtoolsframeworks)
Member
Joined: 6 years ago

I need to programmatically get all images uploaded to a post via wpDiscuz Media Uploader by using the post ID. I thought uploaded comment images would be attached to the post but I was wrong. Is there a way to get all images uploaded to the post from the wpDiscuz Media Uploader?

I do realize that I could use the naming convention to do a string match against objects in the media library but that is really inefficient. Anyone know of a better way?

1 Reply
Astghik
Posts: 5402
Admin
(@astgh)
Illustrious Member
Joined: 5 years ago

Hi @webtoolsframeworks,

wpDiscuz media uploader addon has the "Attach files to current post?" option, please make sure it's enabled/checked. 

The option is located in the Dashboard > Comments > Settings > Addons > Uploader admin page. 

Reply
Share:
Scroll to top