# Disable 'empty' thumbnails

**URL:** <https://forum.kirupa.com/t/disable-empty-thumbnails/202378>\
**Category:** Uncategorized\
**Created:** [September 30, 2006, 12:03pm UTC](https://forum.kirupa.com/t/disable-empty-thumbnails/202378 "2006-09-30T12:03:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashwillkill](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@flashwillkill](https://forum.kirupa.com/u/flashwillkill)\
**Post date:** [September 30, 2006, 12:03pm UTC](https://forum.kirupa.com/t/disable-empty-thumbnails/202378/1 "2006-09-30T12:03:05Z")

</div>

Hi Kirupians,  
… wondering if someone might be able to help me?

I am working with the famous thumbnail gallery and because of my design  
display 3x3 thumnails.  
But not all of the 9 thumbnails have correlating projects yet, and for that  
reason I am loading thumbnails in that say ‘Content pending’.

It is these ‘Content pending’ thumbs that I would like to have enabled = 0;!  
But I am stuck on how to?  
Can I check if thumbs.contentpending, this thumb=enabled = 0;  
Or is there a way of having the big image=""; and enabling the correlating thumb?  
Any advice is gratefully appreciated 😉 Thanks.

The disabling/enabling of the thumbs is done like this right now:

```auto
function disButtons(d) {
	for (var i = 0; i<tArray.length; i++) {
		if (i != d) {
		this.thumbs.th_nav["thmb"+i].enabled = 1;
		} else {
		this.thumbs.th_nav["thmb"+i].enabled = 0;
		}
	}
}

```
