Fixed space in name problem
Improved .htaccess to allow direct access only to images
Ignore items with no id for example the media manager