From: Andreas Unterkircher Date: Sun, 25 May 2008 08:08:48 +0000 (+0200) Subject: auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=5265afe15da056af94e1708e740dcc77b23a7929 auto-browse needs to use the 16x16 icons instead of 32x32 which are used in slideshow Signed-off-by: Andreas Unterkircher --- diff --git a/phpfspot.js b/phpfspot.js index 8db1f65..b4e8421 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -757,12 +757,12 @@ function autoBrowse() if(document.getElementById('next_link')) { var next_link = document.getElementById('next_link').href; window.location.href = next_link; - document.getElementById('autobrowse_ico').src = web_path + "/resources/32_pause.png"; + document.getElementById('autobrowse_ico').src = web_path + "/resources/16_pause.png"; } /* we have reached the last photo */ else { if(ab_ico = document.getElementById('autobrowse_ico')) - ab_ico.src = web_path + "/resources/32_play.png"; + ab_ico.src = web_path + "/resources/16_play.png"; clearInterval(autobrowse); } diff --git a/resources/16_pause.png b/resources/16_pause.png new file mode 100644 index 0000000..2372203 Binary files /dev/null and b/resources/16_pause.png differ