rmagic working and photo uploads