[display] Impossible to load a distant picture in combined CSS #162

Open
opened 2026-10-04 23:45:28 +02:00 by adam · 0 comments
Owner

Reported by Chouby on 9 May 2011 16:16

Version: 2.2.1

The picture is not loaded if the following rule is included in theme.css of my-theme:
background: url("http://www.distant-site.com/pict.png")

Additional information: Looking at the combined css, the corresponding line is modified as follows:
background: url("/piwigo/themes/my-theme/http://www.distant-site.com/pict.png"), which explains why it cannot be loaded

No issue if the $conf['template_combine_files'] is set to false

Test done only with Firefox 3.6.17 but I guess it is not browser dependant

Piwigo Bugtracker #2300

**Reported by Chouby on 9 May 2011 16:16** **Version:** 2.2.1 The picture is not loaded if the following rule is included in theme.css of my-theme: background: url(&quot;http://www.distant-site.com/pict.png&quot;) **Additional information:** Looking at the combined css, the corresponding line is modified as follows: background: url(&quot;/piwigo/themes/my-theme/http://www.distant-site.com/pict.png&quot;), which explains why it cannot be loaded No issue if the $conf[&#039;template_combine_files&#039;] is set to false Test done only with Firefox 3.6.17 but I guess it is not browser dependant [Piwigo Bugtracker #2300](http://piwigo.org/bugs/view.php?id=2300) <!-- github-sync-id:97226267 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#162