revised variable name in image controller and index view
for the creation of the tag cloud removed unused methods and revised used methods for less code.