[GH-ISSUE #15299] Gemma4 doesn't support images in ollama v0.20.0 #9788

Open
opened 2026-04-12 22:40:08 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @Aigle-2 on GitHub (Apr 3, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15299

What is the issue?

As title says. It should be able to do it, according to the google's documentation.

Image

Relevant log output


OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

0.20.0

Originally created by @Aigle-2 on GitHub (Apr 3, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15299 ### What is the issue? As title says. It should be able to do it, according to the google's documentation. <img width="1761" height="858" alt="Image" src="https://github.com/user-attachments/assets/28cefaed-806c-4ead-b72a-422acb2f6a4c" /> ### Relevant log output ```shell ``` ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version 0.20.0
GiteaMirror added the bug label 2026-04-12 22:40:08 -05:00
Author
Owner

@premmaddali commented on GitHub (Apr 3, 2026):

how is the model loading even. On my windows it crashes on load itself.

<!-- gh-comment-id:4184665857 --> @premmaddali commented on GitHub (Apr 3, 2026): how is the model loading even. On my windows it crashes on load itself.
Author
Owner

@rick-github commented on GitHub (Apr 3, 2026):

$ ollama run gemma4 what is this image ./image1.jpg 
Added image './image1.jpg'
...

This image is a **photograph of an extremely cute, fluffy puppy.**
<!-- gh-comment-id:4184706274 --> @rick-github commented on GitHub (Apr 3, 2026): ```console $ ollama run gemma4 what is this image ./image1.jpg Added image './image1.jpg' ... This image is a **photograph of an extremely cute, fluffy puppy.** ```
Author
Owner

@directorboint-arch commented on GitHub (Apr 6, 2026):

It's not working for me either... I tried it on 31B

<!-- gh-comment-id:4192351860 --> @directorboint-arch commented on GitHub (Apr 6, 2026): It's not working for me either... I tried it on 31B
Author
Owner

@rick-github commented on GitHub (Apr 6, 2026):

$ ollama run gemma4:31b what is this image ./image1.jpg
Added image './image1.jpg'
Thinking...
1.  **Analyze the user's request:** The user has provided an image and asked "what is this image".
...
...done thinking.

This image is of a small, white puppy sitting on a stone surface. The puppy is wearing a red collar with a small gold bell attached to it.
<!-- gh-comment-id:4192362188 --> @rick-github commented on GitHub (Apr 6, 2026): ```console $ ollama run gemma4:31b what is this image ./image1.jpg Added image './image1.jpg' Thinking... 1. **Analyze the user's request:** The user has provided an image and asked "what is this image". ... ...done thinking. This image is of a small, white puppy sitting on a stone surface. The puppy is wearing a red collar with a small gold bell attached to it. ```
Author
Owner

@Aigle-2 commented on GitHub (Apr 8, 2026):

then it's an ollama windows UI issue

<!-- gh-comment-id:4205122166 --> @Aigle-2 commented on GitHub (Apr 8, 2026): then it's an ollama windows UI issue
Author
Owner

@rick-github commented on GitHub (Apr 8, 2026):

Image

I notice that your screenshot doesn't have the "Enable web search" icon, is it possible you are running an older version of the UI?

<!-- gh-comment-id:4207881170 --> @rick-github commented on GitHub (Apr 8, 2026): <img width="549" height="548" alt="Image" src="https://github.com/user-attachments/assets/2dd0149d-9bb5-4859-bf23-99fb46ac2fb5" /> I notice that your screenshot doesn't have the "Enable web search" icon, is it possible you are running an older version of the UI?
Author
Owner

@directorboint-arch commented on GitHub (Apr 8, 2026):

The plot thickens....

<!-- gh-comment-id:4208599816 --> @directorboint-arch commented on GitHub (Apr 8, 2026): The plot thickens....
Author
Owner

@quicoto commented on GitHub (Apr 10, 2026):

On MacOS running GUI Version 0.20.5 with gemma4:e4b it doesn't take images

Terminal works fine, of course

ollama run gemma4:e4b "describe this image" ./my-image.png

Checking for Capabilities it correctly shows "vision"

ollama show gemma4:e4b

Output:

  Capabilities
    completion    
    vision        
    audio         
    tools         
    thinking      
<!-- gh-comment-id:4223905015 --> @quicoto commented on GitHub (Apr 10, 2026): On MacOS running GUI Version 0.20.5 with gemma4:e4b it doesn't take images ❌ Terminal works fine, of course ✅ ``` ollama run gemma4:e4b "describe this image" ./my-image.png ``` Checking for Capabilities it correctly shows "vision" ``` ollama show gemma4:e4b ``` Output: ``` Capabilities completion vision audio tools thinking ```
Author
Owner

@matt-bader commented on GitHub (Apr 11, 2026):

@quicoto Before Ollama knows that the model supports images, you need to run a prompt first so that the model is actually downloaded. After that, you can attach images and run web searches. The same might be the issue in @Aigle-2's case.

<!-- gh-comment-id:4228564258 --> @matt-bader commented on GitHub (Apr 11, 2026): @quicoto Before Ollama knows that the model supports images, you need to run a prompt first so that the model is actually downloaded. After that, you can attach images and run web searches. The same might be the issue in @Aigle-2's case.
Author
Owner

@quicoto commented on GitHub (Apr 11, 2026):

@matt-bader Thanks, the model is downloaded fine as I can prompt it with text via GUI just fine. As mentioned using all the terminal commands work perfectly, my assumption is it's GUI that's not seeing the model metadata for "vision" capability.

EDIT: I just fired Ollama again to see if there was an update, now it does allow me to attach images. Very strange. Same model version, same GUI version 🤷‍♂️ Solved for me

<!-- gh-comment-id:4228584798 --> @quicoto commented on GitHub (Apr 11, 2026): @matt-bader Thanks, the model is downloaded fine as I can prompt it with text via GUI just fine. As mentioned using all the terminal commands work perfectly, my assumption is it's GUI that's not seeing the model metadata for "vision" capability. EDIT: I just fired Ollama again to see if there was an update, now it does allow me to attach images. Very strange. Same model version, same GUI version 🤷‍♂️ Solved for me ✅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9788