Skip to content

FEAT/ENHAN. : Display the total number of Photos in the Gallery #992

@tether007

Description

@tether007

Is there an existing issue for this?

  • I have searched the existing issues

Motivation ?

1. For the end user , it might be a necessary to check the total number of photos across the folder , this is not explicitly provided in file explorer's folder view(if the folder contains multi-media).
2. Currently, the Pictopy's gallery only shows the count of images for each individual month (e.g., "December 2025 - 11 images"). It would be helpful to also display the **total number of images across the entire library** to give users better context about their collection size.

Solution

1. A database function to fetch the total images (Repository Level)
2. Updating/tweaking the "GET /all-folders" endpoint to facilitate this functionality inside the exisiting "get_all_folders()" function
3. Changing the Pydantic Model of "GetAllFoldersData" >

class GetAllFoldersData(BaseModel):
folders: List[FolderDetails]
total_count: int
total_images: int #extra

If issue seems worthy , frontend part can be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions