• Anonymous User 357386

    (@anonymized-357386)


    in same ulpoad folder:
    two file with same name but different extension:

    utorrent.jpg and utorrent.png

    if i renegerate thumb for one, this delete thumb for other and viceversa ??

    then, i cannot maintain thumbnail for both file (i need to restore by backup).

    regards,
    S.N.

Viewing 4 replies - 1 through 4 (of 4 total)
  • same thing happens to me if 2 of the images are in cyrilic in one folder. One gets deleted after regeneration of the other and viceversa.

    +1

    +1

    This issue makes this plugin unusable for me. Unfortunately, this is one of my go-to plugins but I really can’t use it as is.

    I have a quick fix that’s working for me. Use at your own risk.

    Look for this code around line 549 in force-regenerate-thumbnails.php:

    if (!(strrpos($thumb, $file_info['filename']) === false)) {
    

    And change it to this:

    if (!(strrpos($thumb, $file_info['filename']) === false) && !(strrpos($thumb, '.'.$file_info['extension']) === false)) {
    

    The plugin should now check for both a matching basename and extension before deleting the thumbnails.

    Of course, this change will be overwritten if you reinstall or update the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘grave bug with thumb regeneration’ is closed to new replies.