Truncate OP image filenames over 38 characters

Fuck trying to keep up indentation in both PHP and HTML, also I lied and made the pull request