Overview
Thedzdk photos command group allows you to manage the Dzaleka photo archive. You can list photos, upload new images, create and manage albums, edit photo metadata, and view detailed photo information.
Commands
dzdk photos list
List available photos with filtering, sorting, and pagination support.Options
Search term to filter photos. Searches across title, description, and category fields.
Filter photos by category name.
Filter by photo status. Available values:
active, inactive, unknown.Sort results by field. Available values:
title, category, status.Sort order for results. Available values:
asc (ascending), desc (descending).Page number to view. Photos are displayed 12 per page.
Examples
Output Format
The command displays a table with the following columns:- Title: Photo title
- Date: Date photo was taken (YYYY-MM-DD format)
- Photographer: Photographer name
- Location: Photo location
- Tags: Comma-separated list of tags
dzdk photos upload
Upload a photo to the Dzaleka archive.Options
Path to the image file to upload. File must exist and be accessible.
Title for the photo. This is a required parameter.
Description of the photo. Optional but recommended for context.
Examples
Upload Requirements
- Maximum file size: 10MB
- File must exist at the specified path
- Supported formats: JPG, JPEG, PNG, and other common image formats
Output
Displays upload progress and success information including:- Photo ID
- Title
- URL of uploaded photo
dzdk photos edit
Edit photo metadata.Options
Photo ID to edit. This is a required parameter.
New title for the photo.
New description for the photo.
Comma-separated list of tags to assign to the photo.
Photo location.
Photo date in YYYY-MM-DD format.
Examples
dzdk photos metadata
Show detailed photo metadata including technical information.Options
Photo ID or slug to retrieve metadata for.
Examples
Output Format
Displays three information panels: Basic Information- Title
- Description
- Date taken
- Location
- Photographer name
- Camera model
- Lens used
- Exposure settings
- Aperture
- ISO value
- Focal length
- File format
- File size
- Image dimensions
- Resolution
- Photo URL
Album Management
dzdk photos album create
Create a new photo album.Options
Album name. This is a required parameter.
Album description. Optional but recommended.
Comma-separated list of tags for the album.
Examples
Output
Displays album creation success with:- Album ID
- Album name
- Description
- Tags
dzdk photos album add
Add photos to an existing album.Options
Album ID to add photos to. This is a required parameter.
Comma-separated list of photo IDs to add to the album. This is a required parameter.
Examples
Output
Displays progress bar while adding photos and confirmation message with the number of photos successfully added.dzdk photos album list
List all photo albums.Output Format
Displays a table with the following columns:- Name: Album name
- Description: Album description
- Photos: Number of photos in the album
- Tags: Comma-separated list of album tags
Examples
Pagination
Photo list commands display 12 items per page. Use the--page flag to navigate:
Filtering and Sorting
Combine multiple filters and sorting options:Notes
- Photo uploads have a 10MB file size limit
- Search is case-insensitive across multiple fields
- Tags help organize and discover photos
- Metadata includes both basic and technical information
- Albums help organize related photos into collections
- Progress bars show upload and batch operation status