name handling, preview image class