Support » Plugin: Autoptimize » “Optimize JavaScript” option changes thumbnail size

  • Resolved rauraurau

    (@rauraurau)


    Hi!
    When I turn on “Optimize JavaScript Code?” then Variaton gallery images (when variation is clicked, then variation pictures are shown) are sized to 100x100px. If I turn off Javascipt optimize, then the thumbnails are back to normal 750×750.

    Here are some pictures of the problem.
    https://imgur.com/a/rMf1zmb

    • This topic was modified 8 months, 2 weeks ago by rauraurau.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I’m afraid I see the same thing happening now and even when Autoptimize is entirely disabled (by adding ?ao_noptimize=1 to the URL) rauraurau, so it looks like the problem is elsewhere?

    https://i.imgur.com/NlTVQWW.jpg

    Thread Starter rauraurau

    (@rauraurau)

    Hi!
    Thank for reply! You are right! I thought I found the problem, but I was wrong.
    It seems that the problem is caused by Async JavaScript
    When I click Apply Async, then pictures are all gone. When I click Apply Defer, then only problem are the small variation thumbnails.
    When Async is disabled, then everything is OK.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    try excluding the theme (and jQuery) from asycing/ deferring maybe?

    Thread Starter rauraurau

    (@rauraurau)

    Hi!
    Jquery was excluded previously, but theme (both, main and child) exclusion didn’t solve the problem.

    Thread Starter rauraurau

    (@rauraurau)

    Problem solved! Excluded Variation Swatch plugin.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    good job rauraurau ! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Optimize JavaScript” option changes thumbnail size’ is closed to new replies.