Support » Plugin: Simply Static » Missing (uncached) images; option to copy the complete 'uploads' directory?

  • Resolved golanlevin

    (@golanlevin)


    Hi Scott,
    First, big thanks again for this great plugin. I’m using it to package up about 20 WordPress installations that I haven’t touched in a few years. I’m using WP4.5.3 with SS1.6.0.

    TL;DR: I’d like to recommend that you duplicate everything in the wp-content/uploads directory into the final generated zip file. Or: give users the option to specify this behavior. Here’s why:

    Unfortunately, I’ve started to notice some scary bugs with missing images in the generated static sites. As a result, I’m now getting a little paranoid, and starting to take extreme measures to make sure I don’t lose any data. For example:

    • In one site, I had a Javascript auto-slideshow carousel on the front page. Because the images it displayed were not hardlinked (but instead were pulled from a list embedded in the JS code), the generated site was missing all of the images that were supposed to be shown in the carousel.
    • In another site, I had a page full of small thumbnail images. Although they all should have been captured by the scraping process, some of them weren’t. This is inexplicable — perhaps the plugin experienced a timeout, and just moved on?

      So, my suggestion is to bundle everything in the wp-content/uploads directory, and not just the files whose URLs you know.

      Thanks for your consideration,
      Golan Levin

    https://wordpress.org/plugins/simply-static/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Scott at Code of Conduct

    (@codeofconduct)

    Hi Golan,

    You make a good point, I should probably default to including everything in the uploads folder. That seems to be a common issue where there’s a JavaScript library that’s loading in images and Simply Static misses those entirely.

    Originally I didn’t include uploads because I didn’t want to include all sorts of images that people had uploaded but never actually used on their site. But, I think, a worse scenario is not including things that should be included.

    Thank you for your thoughtful comment. You’ve persuaded me to add this in one of the next versions of Simply Static.

    Best,
    Scott

    Plugin Contributor Scott at Code of Conduct

    (@codeofconduct)

    Hi Golan,

    I just wanted to let you know that Simply Static now includes the uploads directory by default in version 1.7.1 (just released).

    Thanks again for bringing this issue up, I really appreciate it!

    Best,
    Scott

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing (uncached) images; option to copy the complete 'uploads' directory?’ is closed to new replies.