reverse image helper for mobile and desktop users