# Fading and Zoom (image slideshow)

**URL:** <https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812>\
**Category:** Coding Questions\
**Created:** [February 2, 2023, 11:39pm UTC](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812 "2023-02-02T23:39:04Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 4, 2023, 1:23pm UTC](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812/30 "2023-03-04T13:23:17Z")

</div>

This is a much simpler solution to load all images from a sketch’s “data/” folder via [**listPaths()**](http://processing.github.io/processing-javadocs/core/processing/core/PApplet.html#listPaths-java.lang.String-java.lang.String...-): 📁

> [@How do I slowly layer photos to appear on top of eachother?](https://discourse.processing.org/t/how-do-i-slowly-layer-photos-to-appear-on-top-of-eachother/36698/5):
>
> This example loads all images inside subfolder “data/” and assign them to a PImage[] array: framed_picture /\*\* \* Load All Images (v1.0.0) \* GoToLoop (2022/May/04) \* \* https://Discourse.Processing.org/t/ \* how-do-i-slowly-layer-photos-to-appear-on-top-of-eachother/36698/5 \*/ static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp"; static final float FPS = .25; PImage[] images; void setup() { size(600, 500); frameRate(FPS); imageMode(CENTER); images =…

---

_[View the full topic](https://discourse.processing.org/t/fading-and-zoom-image-slideshow/40812)._
