add size option to gravatar image
tests for flash and refactor flash