If you have a steel back on the camera, a fridge magnet might work as well.