[Xfce4-commits] <www:master> Offload big images to static mirror.
Nick Schermer
noreply at xfce.org
Sat Apr 7 13:18:01 CEST 2012
Updating branch refs/heads/master
to c45fa88d28124215fbba1dd898cc1820b87e8529 (commit)
from 6f456a4b41436ea68f2c75002fe3f05d2968f30d (commit)
commit c45fa88d28124215fbba1dd898cc1820b87e8529
Author: Nick Schermer <nick at xfce.org>
Date: Sat Apr 7 12:21:38 2012 +0200
Offload big images to static mirror.
pages/about/screenshots.php | 2 +-
style/tiny.packed.js | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/images/index.html b/images/index.html
new file mode 100644
index 0000000..e69de29
diff --git a/pages/about/screenshots.php b/pages/about/screenshots.php
index 5460159..8b39497 100644
--- a/pages/about/screenshots.php
+++ b/pages/about/screenshots.php
@@ -5,7 +5,7 @@ function print_shots ($group, $count, $format = 'png')
{
for ($i = 1; $i <= $count; $i++)
{
- echo "<a href=\"/images/about/screenshots/$group-$i.$format\">".
+ echo "<a href=\"http://cdn.xfce.org/about/screenshots/$group-$i.$format\">".
"<img src=\"/images/about/screenshots/$group-$i-small.$format\" alt=\"\" width=\"200\" ".
"height=\"150\" hspace=\"2\" vspace=\"2\" border=\"0\" />".
"</a>";
diff --git a/style/tiny.packed.js b/style/tiny.packed.js
index be10f02..0780eaa 100644
--- a/style/tiny.packed.js
+++ b/style/tiny.packed.js
@@ -18,14 +18,14 @@ var slideshow=new TINY.fader.fade('slideshow',
});
/* slide click events */
-var content1 = '<img src="/images/frontpage/intro-1.png" width="900" height="600" alt="" />';
+var content1 = '<img src="http://cdn.xfce.org/frontpage/intro-1.png" width="900" height="600" alt="" />';
T$('intro1').onclick = function(){TINY.box.show(content1,0,900,600,0)}
-var content2 = '<img src="/images/frontpage/intro-2.png" width="900" height="600" alt="" />';
+var content2 = '<img src="http://cdn.xfce.org/frontpage/intro-2.png" width="900" height="600" alt="" />';
T$('intro2').onclick = function(){TINY.box.show(content2,0,900,600,0)}
-var content3 = '<img src="/images/frontpage/intro-3.png" width="900" height="600" alt="" />';
+var content3 = '<img src="http://cdn.xfce.org/frontpage/intro-3.png" width="900" height="600" alt="" />';
T$('intro3').onclick = function(){TINY.box.show(content3,0,900,600,0)}
-var content4 = '<img src="/images/frontpage/intro-4.png" width="900" height="600" alt="" />';
+var content4 = '<img src="http://cdn.xfce.org/frontpage/intro-4.png" width="900" height="600" alt="" />';
T$('intro4').onclick = function(){TINY.box.show(content4,0,900,600,0)}
More information about the Xfce4-commits
mailing list