Add a png handler to webagent
switch expand and contract images