• Resolved shprung

    (@shprung)


    I had to tar my WP (dump the DB too) and move it to a new server. I was able to get everything to work, but I noticed that all thumbs are served from the upload directory and not the upload/cache directory. I tried to clear cache via the admin interface of the plugin and change the thumbs size with the hope that it will start working, but nop. need your help or ideas what to try. All directories are 777 (read/write/execute) and all files are own by apache.
    The path for the document_root is different but all WP related files are in the same sub-directories (ie, wp-content/uploads/)

    https://wordpress.org/plugins/foogallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bradvin

    (@bradvin)

    What is your thumb size for the gallery? I have seen this before, but it is very rare, and has something to do with sites using custom thumb settings (under settings->media) and then when the default thumb size of 150×150 is used in the gallery. When the thumbs cant be found, it shows the full-size image.

    Try changing your thumb size in your gallery by 1px and see if that start generating your thumbs correctly

    Thread Starter shprung

    (@shprung)

    thanks for the fast reply. I tried different sized; nothing work.it may be true that it can’t find it therefor it uses the full size image. As a developer with full access to my server, maybe you can direct me to the line # in a specific function and I can add some debug of “if (file_exists())” to see what is failing ; maybe some directory in the path is not executable by all and therefore it can’t find it?!

    Plugin Author bradvin

    (@bradvin)

    FooGallery uses wp-thumb under the hood to generate the thumbnails.
    One way to test the thumb generation is to edit an existing gallery that used the responsive image gallery template, change the thumb size and update the gallery. The thumb preview below should generate a thumb at the new size. The url of the image will contain uploads/cache/

    Thread Starter shprung

    (@shprung)

    Yup, I saw the code and worked on it in the weekend. The problem was that my new server didn’t have lib-GD and the code didn’t have any alerts/warnning to let me know (I switch WP to debug mode and still saw nothing). It took some time, but I resolve the issue. Thanks bradvin.

    Plugin Author bradvin

    (@bradvin)

    gald you figured it out in the end!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘thumbs are using original large images’ is closed to new replies.