I'm building an advertising website using Drupal 7, in my case anyone can add an advertisement without any restriction, except that the images should be hidden first until the website admin approves it.
Have a look at File admin .
File admin extends the File entity module to add administrative options to files, including published, promoted, and sticky status.
It has a dependency on File entity, which is a prerequisite when working with files as first class citizens.
Please also look at File admin's issue queue. A lot of extra functionality can be added via a few select patches.
I already found a solution for my case.
I solved the problem in the following way:
- Install Entity API, Entity Reference, Automatic Entity Label and Automatic Nodetitles modules.
- Create new content type named 'image' and apply Automatic Entity Label to it.
- Create new content type named 'classified' and create an Entity Reference field that can be used to point to an 'image' node.
- Now if you create a 'classified' node and an 'image' node from 'classified' node itself, the information appears without an image because the image content will be unpublished by default (until the admin publishes it).
Finally, thanks a lot for your support and help especially J. Reynolds.