How to Add Pictures to Your Poetry Website
1. Accessing Sanity Studio
First, you need to access your Sanity Studio. Press Ctrl+Alt+A on any page of your website to reveal the hidden admin link, or navigate directly to /studio and enter your credentials.
2. Adding Images to Poems
Each poem can have a cover image. Here's how to add one:
- In Sanity Studio, navigate to the "Poems" section
- Select an existing poem or create a new one
- Find the "Cover Image" field
- Click on it to open the image upload interface
- Either drag and drop an image or click to browse your files
- Once uploaded, you can adjust the "hotspot" to control how the image is cropped
- Save the poem
Image Requirements
- Recommended size: 1200 × 800 pixels for cover images
- Supported formats: JPG, PNG, WebP, GIF
- Maximum file size: 10MB
3. Adding Images to Poets
You can add profile images for poets following a similar process:
- Navigate to the "Poets" section in Sanity Studio
- Select a poet or create a new one
- Find the "Image" field
- Upload an image (preferably a portrait or headshot)
- Adjust the hotspot to focus on the face
- Save the poet
4. Adding Images to Collections
Poetry collections can also have cover images:
- Navigate to the "Collections" section
- Select or create a collection
- Upload an image to the "Cover Image" field
- Save the collection
5. Image Best Practices
- Use high-quality, relevant images that enhance the poetry
- Consider the mood and theme of the poem when selecting images
- Optimize images for web before uploading (compress without losing quality)
- Use consistent aspect ratios for similar content types
- Add alt text for accessibility (in the "Alternative Text" field when uploading)
6. Managing Your Images
Sanity includes a built-in asset management system. To see all uploaded images and manage them:
- In Sanity Studio, look for "Content" in the main navigation
- Select "Files & Images" from the dropdown
- Here you can view, search, and delete images
Need Help?
If you need more assistance with images or have questions about Sanity Studio, refer to the Sanity documentation.