Images Directory
Images Directory
This directory contains images used throughout the website, including portfolio images, profile pictures, and other visual assets.
Uploading Images
When uploading new images to this directory:
- File Size Limits: GitHub has a file size limit of 100MB per file. Keep images under this limit.
- Recommended Image Sizes:
- Portfolio images: 800-1200px width
- Profile images: 400-600px width
- Thumbnails: 200-300px width
- Supported Formats:
.jpg,.jpeg,.png,.gif,.svg - File Naming: Use lowercase letters, numbers, and underscores/hyphens. Avoid spaces and special characters.
Using Images in Portfolio Items
To use an image in your portfolio item, add it to the excerpt in the frontmatter:
---
title: "Your Project Title"
excerpt: "Brief description<br/><img src='/images/your-image.png' style='max-width: 60%; height: auto;'>"
collection: portfolio
---
Troubleshooting Upload Issues
If you encounter errors when uploading files through GitHub’s web interface:
- Check file size: Ensure the file is under 100MB
- Verify file format: Use standard image formats (JPG, PNG, GIF)
- Check filename: Remove spaces and special characters from filenames
- Try uploading via Git CLI: Use
git add,git commit, andgit pushcommands - Clear browser cache: Sometimes browser issues can prevent uploads
Placeholder Images
Some images in this directory are placeholders (grayscale images):
4_bases_decomposition.png- Placeholder for Four-Basis Decomposition projectensemble_gp.png- Placeholder for Ensemble-Consistent GP project
To replace these with actual images:
- Download the real images from the original source (see MANUAL_IMAGE_DOWNLOAD.md)
- Replace the placeholder files with the downloaded images
- Commit and push the changes
Current Images
This directory contains:
- Portfolio project images
- Profile pictures
- Icon and favicon files
- Background images for various sections
- Placeholder images (to be replaced with actual images)
