fixes #1791
Refactor post preview attributes into one method
Merge branch 'master' of https://github.com/r888888888/danbooru