# Random Select Images and Fade in / fade out according to variable / Blend

**URL:** <https://discourse.processing.org/t/random-select-images-and-fade-in-fade-out-according-to-variable-blend/40960>\
**Category:** Coding Questions\
**Created:** [February 19, 2023, 4:28pm UTC](https://discourse.processing.org/t/random-select-images-and-fade-in-fade-out-according-to-variable-blend/40960 "2023-02-19T16:28:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [February 20, 2023, 9:12am UTC](https://discourse.processing.org/t/random-select-images-and-fade-in-fade-out-according-to-variable-blend/40960/2 "2023-02-20T09:12:21Z")

</div>

Hi @JonnieNightTime,

Maybe you can have a look here if there some useful hints for you to use …

> [@Fading and Zoom (image slideshow)](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812/5):
>
> Hi @ajaynischal98, Code adjusted. Just play a bit around to figure out yourself and adjust to your needs. How large are your images ?! I would say scale down size to fix it. In case it would not be possible you need another approach. You could split the image into parts and display it like a grid which combined shows the whole image, but you would need to implement that by yourself … ie: [dummy\_grid] Cheers — mnse ArrayList\<PImage\> images; int lastImageIndex = -1; int nextImageInde…

Cheers  
— mnse

---

_[View the full topic](https://discourse.processing.org/t/random-select-images-and-fade-in-fade-out-according-to-variable-blend/40960)._
