Fix photosets and image margin (finally).