iframe based snapshoting