fix pagination for catalog
delete image from catalog