Title: Thumbnails not loading from cache directory
Last modified: August 24, 2016

---

# Thumbnails not loading from cache directory

 *  Resolved [wpni](https://wordpress.org/support/users/wpni/)
 * (@wpni)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/thumbnails-not-loading-from-cache-directory/)
 * Firstly, this is not an issue as such, with the plugin – but caused by a rubbish
   host.
    The plugin is working 100% on WP4.2.
 * The problem is that the current host does not allow me to set the CHMOD for the
   cache directory, a support ticket has been raised with the host, but we have 
   been waiting since Friday for them to change the access rights.
 * So my question is: Until the site is either moved to a better host, or the existing
   host get their act together, is there code I can place either in Functions.php
   or elsewhere (in plugin) to set the thumbnails to load from their original location(
   not the cache folder).
 * [https://wordpress.org/plugins/foogallery/](https://wordpress.org/plugins/foogallery/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/thumbnails-not-loading-from-cache-directory/#post-6064516)
 * Under the hood, FooGallery uses WPThumb.
 * Looking at that code, it seems you can hook into the filter ‘wpthumb_cache_file_path’
   to override where it points.
 * Try overriding that in your functions.php and see if you come right
 * cheers

Viewing 1 replies (of 1 total)

The topic ‘Thumbnails not loading from cache directory’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * 1 reply
 * 2 participants
 * Last reply from: [bradvin](https://wordpress.org/support/users/bradvin/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/thumbnails-not-loading-from-cache-directory/#post-6064516)
 * Status: resolved