adding decript class to detail img