Replaces "my" with "p" to keep Pins consistent with other objects.
Repacks images as data URIs so they take up less space.