Previously we have stored images as raster attributes in a feature class within SDE. We are moving to 10.2 and will be storing images/photos as attachments to feature classes (in an attachment table). I am trying to find a way to access the photos stored within the raster attributes of our old feature classes so we can use those photos in a new attachment table. This will also support ArcGIS Online image viewing because it doesn't support a raster image stored within a geodatabase attribute table. I need a way to batch export the images stored as raster attributes out of the geodatabase and into JPEGS or into an attachment table.
After much searching, I found the same solution just before you posted this helpful link. Using their method we were able to export the photos without any problems and can now use them as attachments to a feature class.