Add thumbnail with dimension support