T. Valentinuzzi, J. Varela, Mauro D'Onofrio, Chiara Marmo, Mariano Moles, Daniela Bettoni, Bianca M. Poggianti, Per Kjaergaard, Antonio Cava, Warrick J. Couch, E. Pignatelli, Alan Dressler, G. Fasano, INAF - Osservatorio Astronomico di Padova (OAPD), Istituto Nazionale di Astrofisica (INAF), Instituto de Astrofísica de Andalucía (IAA), Consejo Superior de Investigaciones Científicas [Madrid] (CSIC), Dipartimento di Astronomia - Padova, Universita degli Studi di Padova, Interactions et dynamique des environnements de surface (IDES), Université Paris-Sud - Paris 11 (UP11)-Institut national des sciences de l'Univers (INSU - CNRS)-Centre National de la Recherche Scientifique (CNRS), Instituto de Astrofisica de Canarias (IAC), Centre for Astrophysics and Supercomputing [Melbourne], Swinburne University of Technology [Melbourne], Observatories [Carnegie Institution], Carnegie Institution for Science [Washington], Niels Bohr Institute [Copenhagen] (NBI), Faculty of Science [Copenhagen], University of Copenhagen = Københavns Universitet (KU)-University of Copenhagen = Københavns Universitet (KU), Dipartimento di Astronomia [Padova], Canarias IA, and The Niel Bohr Institute
(Abridged) Context. This is the second paper of a series devoted to the WIde Field Nearby Galaxy-cluster Survey (WINGS). WINGS is a long term project which is gathering wide-field, multi-band imaging and spectroscopy of galaxies in a complete sample of 77 X-ray selected, nearby clusters (0.04=20deg). The main goal of this project is to establish a local reference for evolutionary studies of galaxies and galaxy clusters. Aims. This paper presents the optical (B,V) photometric catalogs of the WINGS sample and describes the procedures followed to construct them. Methods. We have constructed photometric catalogs based on wide-field images in B and V bands using SExtractor. Photometry has been performed on images in which large galaxies and halos of bright stars were removed after modeling them with elliptical isophotes. Results. We publish deep optical photometric catalogs (90% complete at V~21.7, which translates to ~M*(V)+6 at mean redshift), giving positions, geometrical parameters, and several total and aperture magnitudes for all the objects detected. For each field we have produced three catalogs containing galaxies, stars and objects of "unknown" classification (~16%)., Comment: Typo corrected in the initial of one of the authors (A. Cava). Accepted for publication in A&A. 19 pages, 4 tables, 11 figures. Catalogs will be available via CDS and WINGS website (http://web.oapd.inaf.it/wings/)