Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My first time use of this module. I appear to have added a background image correctly, however the css is pointing at:
http://www.mysite.com/sites/default/files/styles/front_bg/public/my_bg_i...
and the file has been stored in:
http://www.mysite.com/sites/default/files/styles/front_bg/public/1600/my...
Obviously this discrepancy is preventing the background image from being displayed
Comments
Comment #1
charlie_davies CreditAttribution: charlie_davies commentedUpdate: I also noticed that spaces in the file name were being converted into %25%20 in the css rule rather than just %20 so i renamed the file using hyphens instead of spaces and voila the file was saved in the correct folder
Comment #2
drclaw CreditAttribution: drclaw commentedSo... is this fixed then? Can you reproduce the error by adding changing the filename back to spaces?
Comment #3
drclaw CreditAttribution: drclaw commentedI think the problem here was related to spaces in the filename. I believe they were getting double url encoded (hence the %25%20). I pushed a change to the dev branch that should handle this more gracefully.