Forums

[Plugin: W3 Total Cache] images not working when minified (9 posts)

  1. fitnessguide67
    Member
    Posted 2 years ago #

    I have been using w3-total-cache since it was created and would first of all like to say thanks for a great plugin.

    My issue has arrived since the new version.
    Now i've upgraded my sites are missing some images. Using firebug to look at my missing files i've noticed a slash has been removed from my files on minification.
    I now have files as below

    images/header.jpg
    now
    imagesheader.jpg

    Hope you can help

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Posted 2 years ago #

    Can you please try the development version http://wordpress.org/extend/plugins/w3-total-cache/download/ and let me know if the problem persists?

  3. fitnessguide67
    Member
    Posted 2 years ago #

    Hi Fredrick, no unfortunately its still the same. If i disable the css minifying it works as seperate files. When minified its removing the slash inbetween the images folder and the actual image. As shown above.

    Thanks

    Peter

  4. Frederick D.
    Member
    Posted 2 years ago #

    Hi,

    I'm running into the same problem, BUT...

    I'm pretty sure it only affects CSS files where the image path is specified as background-image: url('images/header.jpg'); and not files where the URL is in the form of background-image: url(images/header.jpg);. Weird bug, but probably a regular expression issue.

    For the moment I've chosen not to include those stylesheets in minification, but I would like to be able to include them.

  5. fitnessguide67
    Member
    Posted 2 years ago #

    Ki freedyware, yes it seems that way as my thesis stylesheet shows the following code:

    #content_box { width: 100%; background: url('lib/images/dot-ddd.gif') 70.7em 0 repeat-y; }

    I've had to go through all my sites (over 40.. phew) and also not include the stylesheets..

    Hopefully frederick could look into this issue.. :)

    Peter

  6. Frederick Townes
    Member
    Posted 2 years ago #

    This bug will be fixed in the next release.

  7. Frederick Townes
    Member
    Posted 2 years ago #

    Is anyone using WordPress 3.0?

  8. fivepercent
    Member
    Posted 1 year ago #

    Hi Frederick --

    (Sorry to resurrect an old thread, but I think I am having the same problem as described here) -- style.css background images from my theme don't have quotes and are not getting picked up and served from the CDN (Cloudfront).

    I am using WP3.0.1 and WPTC 0.9.1.3

    Any progress on this issue? (Minor of course, I am just trying to get an A in YSlow and PageSpeed :-)

    Tom

  9. Frederick Townes
    Member
    Posted 1 year ago #

    Check the paths in your files to make sure that they will still work when the file is hosted with the CDN. If there's a bug there let me know. Also check that the relevant files the CSS classes refer to are available on the CDN.

Topic Closed

This topic has been closed to new replies.

About this Topic