3d cube and image preview