use Libertree.UI.confirmAjax
enable lightbox only for resized images