         skip = 0
 
     dates = {}
+    # We retrieve photos correspond to a modal page
+    # Retrieve one more photo to know if it exists photos after this page
+    # Skip is used to have the well photos (for page req.params.page)
+    # Descending is true to have photos sorted by date (more recent in first)
     options =
         limit: fileByPage + 1
         skip: skip


    return next new Error('no binary') unless file.binary?

    photo =
        date         : file.lastModification
        title        : ""


            photos.splice fileByPage, 1
            for photo in photos
                # Sort photos by month
                date = new Date(photo.lastModification)
                mounth = date.getMonth() + 1
                mounth = if mounth > 9 then "#{mounth}" else "0#{mounth}"
