v0 project zip download missing image files

Problem

Hi guys, I downloaded the zip from v0 to host the project on Netlify, but it seems it didn’t include images of the webpage.

My AI credits tapped for this test project so I cannot ask the AI agent to repackage the site. And I am non-technical.

Question

Where do I find and how do I download the folder with all images?

1 Like

Hey there! :waving_hand:

Sorry to hear you’re experiencing this issue with missing images in your downloaded zip file. I understand this is frustrating, especially when you’re unable to regenerate the project.

To help investigate this, could you share your v0 chat link? It will look something like https://v0.dev/chat/... - this will help us see exactly what was generated and understand what might have happened with the images.

Also, it would be helpful to know:

  • What type of images are missing (uploaded images, generated images, or both)?
  • Did you upload any custom images during the v0 chat session?
  • When you downloaded the zip, did you notice any error messages?

Thanks for sharing these details!

1 Like

This happens with v0 exports sometimes — the images you see are not actually inside the project yet.

v0 preview loads images from temporary online storage, so when you download the zip, only the code is included, not the generated image files.

You can still get them:

  1. Open the preview page in your browser

  2. Right-click the image → Open image in new tab

  3. The URL will point to a Vercel/temporary storage link

  4. Save the image (Ctrl+S) to your computer

  5. Create a folder called /public/images in the project and put them there

After that, update the image paths in the code to /images/filename.png and Netlify will show them normally.

2 Likes

Ah, I see! Seems similar to this discussion

I found a workaround, I copied the image files into another dir like the components and downloaded the zip file.

Use the built in terminal within the code view to copy the files over.

Images downloaded from v0 do not open as they’re base64-encoded files

You can verify this by running:

file your-image.jpg

Output: ASCII text, with very long lines and not a JPEG

Fix: decode them with base64 -d:

for f in public/images/*.jpg public/images/*.png; do
base64 -d “$f” > “${f}.tmp” && mv “${f}.tmp” “$f”
done

After that, the files are proper JPEGs/PNGs and work as expected.

I’m glad that worked! :slight_smile:

Thanks for sharing!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.