The solution is probably to wrap the image and the added span in a div and give it a class to identify it as the rotated content. Then update the image rotation script to rotate based on the class instead of img tags.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.