portfolio-items
Masonry Portfolio Item
Masonry Portfolio Item Guide
Overview
This guide explains how to create a portfolio item with masonry-style image layouts using the Snowlake Jekyll theme.
Front Matter Configuration
General Metadata
date: YYYY-MM-DD # Publication date of the portfolio item
layout: portfolio/items/masonry-layout # Required layout for masonry portfolio
title: "Portfolio Item Title" # Main title of the portfolio item
sub_title: "Subtitle Description" # Optional subtitle
background_image: "/path/to/background-image.webp" # Background image for the portfolio item
Client Information
client: "Client Name" # Name of the client or organization
Categorization and Images
filters: # Categorization tags
- branding
- corporate
masonry_images: # Masonry image configuration
- thumbnail: "/path/to/thumbnail1.webp" # Thumbnail image for grid view
full_size: "/path/to/full-image1.webp" # Full-size image for lightbox/modal
col: 6 # Column width (Bootstrap grid system)
- thumbnail: "/path/to/thumbnail2.webp"
full_size: "/path/to/full-image2.webp"
col: 6
# Add more images as needed
Masonry Image Configuration
Image Properties
thumbnail
: Smaller image displayed in the masonry gridfull_size
: High-resolution image for detailed viewcol
: Column width (1-12) determining image size in the grid
Grid Layout Tips
- Use consistent
col
values for balanced layout - Recommended combinations:
- All images
col: 6
for equal-width two-column layout - Mix of
col: 4
andcol: 8
for varied grid appearance - Ensure total column width per row does not exceed 12
- All images
Content Sections
Project Description
Use standard Markdown and HTML to describe the project:
- Use
<p class="lead">
for prominent introductory or summary paragraphs - Add descriptive text about the project
- Markdown and HTML are both supported
Example Structure
---
# Front Matter (as described above)
---
## About the Project
<p class="lead">Project overview or key highlights.</p>
Detailed project description and context.
Image Guidelines
-
Thumbnail and Full-Size Images
- Provide both thumbnail and full-size versions
- Thumbnails should be smaller, optimized for grid display
- Full-size images for detailed viewing
-
Image Optimization
- Use WebP format for best performance
- Compress images without losing quality
- Maintain consistent aspect ratios
- Use descriptive file names
Best Practices
- Choose high-quality, relevant images
- Maintain visual consistency
- Optimize images for web performance
- Use meaningful titles and descriptions
- Ensure images complement the project narrative
Troubleshooting
- Verify image paths and file permissions
- Check front matter syntax
- Ensure image sizes are appropriate
- Test responsiveness on different devices