# When a drop down choice is chosen - a picture appears

**URL:** <https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-4\
**Created:** [October 12, 2018, 6:19pm UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821 "2018-10-12T18:19:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chadwicko](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chadwicko](https://forum.code.org/u/chadwicko)\
**Post date:** [October 12, 2018, 6:19pm UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821/1 "2018-10-12T18:19:29Z")

</div>

Cached-Request  
I have a student with a project in which he is trying to have an image change with the dropdown\_1. When he does change the dropdown\_1 the image changes the first time to a mini cooper. The next time it shows the minicooper and the van. The third time it changes to a zoomed picture of the van.

So really, this simply comes down to having an image appear in the app screen when the dropdown menu word is chosen: “img\_mini\_cooper” when mini cooper is chosen.

---

<div class="post-metadata">

**Author:** ![bradleywellsashley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bradleywellsashley/32/522_2.png) [@bradleywellsashley](https://forum.code.org/u/bradleywellsashley)\
**Post date:** [October 15, 2018, 1:58pm UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821/2 "2018-10-15T13:58:52Z")

</div>

Oliver,

Could you include some screen shots? I don’t know if I’m understanding your question fully. Your students wants the dropdown to have 3 options [Mini Cooper, Mini Cooper + Van, Zoomed Van] and the user selects and the image shows up?

Sorry for my confusion, and looking forward to figuring this out with you!

Brad

---

<div class="post-metadata">

**Author:** ![chadwicko](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chadwicko](https://forum.code.org/u/chadwicko)\
**Post date:** [October 16, 2018, 6:54pm UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821/3 "2018-10-16T18:54:43Z")

</div>

4492 is what is seen on the screen when the “minicooper” dropdown is chosen. When the “Honda minivan” dropdown is chosen, there is a picture on top of the first one (4493). When either of the dropdown menus is chosen again, the minivan picture is zoomed as in img 4494.

 ![IMG_4492](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/1/1d50b1c511de6d18766d0215f9001a3fa2c8fb4a.jpeg) ![IMG_4493](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/d/d21c6dbc010a6dbe8b8bad74b507796b387937d1.jpeg) ![IMG_4494](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/a/a298584e7bd1bffe5841f9278fd40c288f2e3037.jpeg)

---

<div class="post-metadata">

**Author:** ![elizabeth\_admin](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@elizabeth\_admin](https://forum.code.org/u/elizabeth_admin)\
**Post date:** [October 18, 2018, 4:38pm UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821/5 "2018-10-18T16:38:46Z")

</div>

Hi!

Can you click the “Share” link and share the URL with us? That would allow people to see the code, remix the project, and play around with it and see what’s going on. It looks like an interesting bug.

---

<div class="post-metadata">

**Author:** ![kevinsukhoo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/kevinsukhoo/32/3617_2.png) [@kevinsukhoo](https://forum.code.org/u/kevinsukhoo)\
**Post date:** [October 24, 2018, 12:27am UTC](https://forum.code.org/t/when-a-drop-down-choice-is-chosen-a-picture-appears/20821/8 "2018-10-24T00:27:41Z")

</div>

@chadwicko, I agree with Elizabeth, I’d definitely like to check out the code to see if I could debug!
