I changed the header background by going to Appearance -> Settings -> Header and then uploading a new image. Checked "Repeat horizontally". This appears correctly as shown in attached file screendump_OK.jpg.
If I wait a while (a few hours or days), the background changes to a grey colour. See attached file screendump_bug.jpg . The configuration screen still has the new image file listed as the background, but it does not appear. Re-uploading the same file fixes the problem, for a while.
I noticed this several times in version beta11, but thought it was associated with the issue "Block headers are always Blue, no matter which scheme is selected". The block headers issue has been fixed in rc1, but this header background issue has not.
URL where screendumps were taken: http://serverhub.dward.us/~veganaustralia/agov-7.x-1.0-rc1/
Comment | File | Size | Author |
---|---|---|---|
screendump_bug.jpg | 236.58 KB | gregmcf | |
screendump_OK.jpg | 269.64 KB | gregmcf |
Comments
Comment #1
xtfer CreditAttribution: xtfer commentedWell, that is pretty weird. My first thought it that its an issue with your file system ...
When the image changes, are you getting a broken image link in the inspector (in other words, is the image actually going missing from its filesystem location), OR, does the image path change in the HTML?
Comment #2
gregmcf CreditAttribution: gregmcf commentedYes, it is weird, but like most issues with software I expect there will be a logical answer. :)
The issue hasn't reappeared on my rc1 instance yet, but I have an instance of beta11 which is displaying the problem, here:
http://veganaustralia.org.au/agov-7.x-1.0-beta11
The configuration Appearance -> Settings -> Header "Path to header background" field says "agov_cover_leaf_4.jpg", but the html says:
Note the "agov_cover_leaf.jpg" name, it is missing the "_4" suffix.
The file system says:
-sh-4.1$ cd public_html/agov-7.x-1.0-beta11/sites/default/files/
-sh-4.1$ pwd
/home/veganaustralia/public_html/agov-7.x-1.0-beta11/sites/default/files
-sh-4.1$ ls -l agov_cover_leaf_*
-rw-rw-r--. 1 apache apache 66026 Jun 8 12:34 agov_cover_leaf_0.jpg
-rw-rw-r--. 1 apache apache 64311 Jun 8 18:27 agov_cover_leaf_1_0.jpg
-rw-rw-r--. 1 apache apache 64311 Jun 11 02:52 agov_cover_leaf_1.jpg
-rw-rw-r--. 1 apache apache 64311 Jun 17 18:24 agov_cover_leaf_2.jpg
-rw-rw-r--. 1 apache apache 64311 Jun 22 16:36 agov_cover_leaf_3.jpg
-rw-rw-r--. 1 apache apache 64311 Jun 24 01:06 agov_cover_leaf_4.jpg
-sh-4.1$
As you can see, I have re-uploaded the file several times, with a few days between each. I guess drupal adds a version number each time. It seems that the html generator is dropping the suffix ("_4" for the last upload) from the URL for the background image. Any idea why it would do that?
Greg
Comment #3
gregmcf CreditAttribution: gregmcf commentedComment #4
gregmcf CreditAttribution: gregmcf commentedAny progress on this one? Is there any more information I can provide? It is still an issue with rc3 as seen here:
http://test.veganaustralia.org.au/agov-7.x-1.0-rc3/
Comment #5
gregmcf CreditAttribution: gregmcf commentedI just noticed some code is missing from my comment #2 above. After "but the html says" is should read:
div id="zone-header-wrapper" class="zone-wrapper zone-header-wrapper clearfix" style="background: url("http://veganaustralia.org.au/agov-7.x-1.0-beta11/sites/default/files/ago...) repeat-x, repeat-y !important;">
Note that I have removed the leading angle bracket.
Comment #6
pameeela CreditAttribution: pameeela commented