format pug images