Prompted PFPs and Banners
This is the prompt I gave claude code to make pfp’s and banners work on Prompted! All it took was one fix
Tech stack
- Claude Code
- Claude
Links
Prompt
The profile pictures (avatars) on posts are displaying at only 64x64 pixels. I need them larger - probably 40-48px for post cards and feed items.
Find where avatar images are rendered on posts (likely in a PostCard component or similar) and:
1. Check if there's a hardcoded width/height of 64px or a small Tailwind class like w-16 h-16
2. Update the avatar size to be appropriate for post displays (around w-10 h-10 or w-12 h-12 for feed posts)
3. Make sure the image has object-cover and rounded-full classes for proper circular display
4. If using Supabase image transformations in the URL (like ?width=64), remove that or increase the size
The avatar_url from Supabase is full resolution - the sizing restriction is purely in the frontend styling.
The profile pictures (avatars) on posts are displaying at only 64x64 pixels. I need them larger - probably 40-48px for post cards and feed items.
Find where avatar images are rendered on posts (likely in a PostCard component or similar) and:
1. Check if there's a hardcoded width/height of 64px or a small Tailwind class like w-16 h-16
2. Update the avatar size to be appropriate for post displays (around w-10 h-10 or w-12 h-12 for feed posts)…
7 likes · 5 views