{{ emoji_prefix }} DoggyGallery
🎵 Music
🔍 Filter
FAQ
📚 API
Home
{% if listing.current_path != "" %} / {{ listing.current_path }} {% endif %}
{% if let Some(parent) = listing.parent_path %}
← Back
{% endif %}
{% if listing.total_items == 0 %}
No media files or directories found in this location.
{% else %}
{% if listing.page > 1 %} Showing {{ (listing.page - 1) * listing.per_page + 1 }}-{% if (listing.page - 1) * listing.per_page + listing.entries.len() > listing.total_items %}{{ listing.total_items }}{% else %}{{ (listing.page - 1) * listing.per_page + listing.entries.len() }}{% endif %} of {{ listing.total_items }} items {% else %} Showing 1-{% if listing.entries.len() > listing.total_items %}{{ listing.total_items }}{% else %}{{ listing.entries.len() }}{% endif %} of {{ listing.total_items }} items {% endif %}
{% for entry in listing.entries %} {% if entry.is_directory() %}
📁
{{ entry.name }}
Directory
{% else if entry.is_image() %}
{{ entry.name }}
{{ entry.formatted_size() }}
Image
{% else if entry.is_video() %}
{{ entry.name }}
{{ entry.formatted_size() }}
Video
{% else if entry.is_audio() %}
🎵
{{ entry.name }}
{{ entry.formatted_size() }}
Audio
{% endif %} {% endfor %}
{% if listing.total_pages > 1 %}
{% if listing.page > 1 %}
← Previous
{% else %}
← Previous
{% endif %}
{% for page_num in 1..=listing.total_pages %} {% if page_num == listing.page %}
{{ page_num }}
{% else if page_num == 1 || page_num == listing.total_pages || (page_num >= listing.page - 2 && page_num <= listing.page + 2) %}
{{ page_num }}
{% else if page_num == listing.page - 3 || page_num == listing.page + 3 %}
...
{% endif %} {% endfor %}
{% if listing.page < listing.total_pages %}
Next →
{% else %}
Next →
{% endif %}
{% endif %} {% endif %}
×
‹
›
← Prev
🎲 Random
Next →
Auto-Random:
sec