• Resolved zk

    (@zk)


    I have my thumbnail size on my media setting page set to 320px, and several image sizes via add_image_size.

    When I use FRT plugin to force regenerate all image sizes, it delete thumbnail use by Simple Post Gallery and it doesn’t recreate new one, so all thumbnails 404’ed on the Post Gallery metabox.

    How to reproduce:
    1. Install & activate both plugins (Simple Post Gallery & Force Regenerate Thumbnails).
    2. Set thumbnail size on media setting page to 320×320.
    3. Add new image sizes via add_image_size .
    4. Create new post/page, upload images directly to Post Gallery metabox & publish.
    5. Change image sizes on step 3 or not, then execute Force Regenerate Thumbnails (it will delete but doesn’t regenerate the thumbnail).
    6. Back to edit previously created post/page, the thumbnail gone (404).

Viewing 4 replies - 1 through 4 (of 4 total)
  • hexagondonut

    (@hexagondonut)

    I just figured out a similar problem I was having. I think the problem here is with the plugin’s cache files becoming out of sync with the new image sizes set in the settings->media and subsequent thumbnail regeneration.

    Try deleting the all the files inside the /wp-content/plugins/simple-post-gallery/cache directory. The plugin should then regenerate the cache according to the new image size settings.

    It might be nice to have some control over the cache in the plugin’s settings page.

    Plugin Contributor 10Quality

    (@10quality)

    @hexagondonut

    Will add the feature in the next release. Thanks for the feedback, also, we will brainstorm a solution for custom image sizes @zk.

    Stay tune for future releases.

    Thread Starter zk

    (@zk)

    Hai, thanks for the info. And also about cache folder, why deep deep in plugin folder, why not make/use cache folder in WP default content_dir or upload_dir? or maybe disable it completely when it detect running on development site. Gave me headache before I found out just like @hexagondonut said.

    Using native WordPress functions & hooks definitely a must, compatibility is a feature right?

    Thanks for the plugin.

    Plugin Contributor 10Quality

    (@10quality)

    Cache tab added in the latest release so you can easily flush cache with one click.

    @zk we’ll do some tests with wp cache folder for further releases. Thanks for the feedback.

    • This reply was modified 8 years, 10 months ago by 10Quality.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with Force Regenerate Thumbnails’ is closed to new replies.