clean up attribute getting/setting code
Fixing example, adding some stuff to docs
Merge pull request #173 from mobify/v2.0-image-resize-cleanup

clean up attribute getting/setting code