Complete the image click handler.