added content_type images to categories page
fixed bug in rating system