various tweaks to support post images