image preview for resimage plugin