Gallery tweaks, adding local partial file