Thank you for this cool little widget it is a hit on my forum. smile

In my gallery the post containing pictures #4,5,6,7, & 8 was deleted and this code is looking for those numbers. Of course the island displays a Red X since the photos no longer exist.

I have manually loaded picture thumbs with these numbers and elimited the Red X but of course when displayed you can not follow the photo by clicking on it as no post is associated with it. Also when doing permission checks the gallery/thumbs directory now fails the check.

Should I be concerned with my work around solution? Should I remove the photos and just live with the Red X or can I somehow change the code to exclude #4-8 in the random sort order?

Have a Great Day
Jay