# Setting a background Image in a mode

**URL:** <https://forum.critterandguitari.com/t/setting-a-background-image-in-a-mode/7048>\
**Category:** ETC\
**Created:** [March 4, 2021, 2:25am UTC](https://forum.critterandguitari.com/t/setting-a-background-image-in-a-mode/7048 "2021-03-04T02:25:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![chrisk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/chrisk/32/11_2.png) [@chrisk](https://forum.critterandguitari.com/u/chrisk)\
**Post date:** [March 7, 2021, 11:12pm UTC](https://forum.critterandguitari.com/t/setting-a-background-image-in-a-mode/7048/5 "2021-03-07T23:12:50Z")

</div>

If you turn on the OSD and navigate to that mode, there is probably going to be an error message on the OSD. What do you see? This mode is looking for a .png file, is that what’s in the mode’s image folder?

This mode I shared the other day does a similar thing to what you were doing:

> [@Using New Images](https://forum.critterandguitari.com/t/using-new-images/7003/8):
>
> I have attached an example mode below that only displays .png files, centered on the screen that can be resized by knob1 and cycled through with a trigger.
> 
> To load _.jpg_ files change the end of line 17 from _.png_ to _.jpg_ :
> 
> > for filepath in sorted(glob.glob(etc.mode\_root + ‘/Images/\*.png’)):
> 
> [Background Image Example.zip](https://forum.critterandguitari.com/uploads/short-url/nFNC3dfbYKhAIChnszyGY7ZvD1R.zip) (1.4 MB)

---

_[View the full topic](https://forum.critterandguitari.com/t/setting-a-background-image-in-a-mode/7048)._
