added feature: making images clickable
Addded and fixed test cases; fixed small bugs