• Resolved arachon

    (@arachon)


    Hi,

    we have just upgrade to v 2.2.1 and discovered the following:

    It seems that AO is changing the filename if it includes a “color name” in the filename:

    Original CSS:
    .main-heading {background: #048ec7 url(/wp-content/themes/mytheme/assets/img/backgrounds/radial-gradient-white-top-20.png) no-repeat 50% 0;}

    After AO Optimization:
    .main-heading{background:#048ec7 url(https://cdn.example.net/wp-content/themes/mytheme/assets/img/backgrounds/radial-gradient-#fff-top-20.png) no-repeat 50% 0}

    So the keyword WHITE in the filename has been replaced by the HTML color code.
    This results in a 404 error.

    Not a big problem for us (we simply changed the filename) but might be for others.

    BTW: Your plugin ROCKS 🙂

    Thank you and regards
    C.

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

The topic ‘Wrong file name / CSS Image’ is closed to new replies.