# GLMakie - Connecting a Slider to update images in an axis

**URL:** <https://discourse.julialang.org/t/glmakie-connecting-a-slider-to-update-images-in-an-axis/79847>\
**Category:** Visualization\
**Tags:** makie, glmakie\
**Created:** [April 22, 2022, 3:10pm UTC](https://discourse.julialang.org/t/glmakie-connecting-a-slider-to-update-images-in-an-axis/79847 "2022-04-22T15:10:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmc5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fmc5/32/35632_2.png) [@fmc5](https://discourse.julialang.org/u/fmc5)\
**Post date:** [April 22, 2022, 3:10pm UTC](https://discourse.julialang.org/t/glmakie-connecting-a-slider-to-update-images-in-an-axis/79847/1 "2022-04-22T15:10:32Z")

</div>

Hi everyone,

I am new to Julia and I am trying to create an interface to show for images (as you can see in the figure).

I was able to connect the Slider with the red lines and put the limits of the top left image. But now, I want to connect the same Slider with the bottom right image (volume image), because for each position of the red line there is a different volume image.

I don’t know if I was clear, it is my first writing in a Forum.  
Really hope someone can help me!

If you need some more information please tell me!

---

<div class="post-metadata">

**Author:** ![stillyslalom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stillyslalom/32/45687_2.png) [@stillyslalom](https://discourse.julialang.org/u/stillyslalom)\
**Post date:** [April 22, 2022, 3:58pm UTC](https://discourse.julialang.org/t/glmakie-connecting-a-slider-to-update-images-in-an-axis/79847/2 "2022-04-22T15:58:14Z")

</div>

It would help to edit your post to include a minimum reproducible example (see this post: [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757)), as it’s not currently clear what exactly is controlled by the slider, nor what you expect to happen when the slider is connected properly. There’s no need to post your actual data, but your minimal example should include generation of synthetic data.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [April 22, 2022, 4:58pm UTC](https://discourse.julialang.org/t/glmakie-connecting-a-slider-to-update-images-in-an-axis/79847/3 "2022-04-22T16:58:52Z")

</div>

I don’t actually see a figure, did you forget to upload it maybe?
