[#901] - Refactor attachment logic
This commit refactors attachment logic and fixes some issues with image transparency not being saved correctly.
Authored by: Rick Copeland 2010-09-27
Parent(s): [378e87]
Child(ren): [28f675]