code for rating and images
code for rating and images