Truncate gallery caption filenames with CSS