We can now use Amazon S3

This commit is contained in:
Piotr Mitros
2012-01-29 20:54:53 -05:00
parent 1e34b21a76
commit daec24d565
4 changed files with 19 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ function goto_page(n) {
if(n<10) {
prefix="00";
}
$("#bookpage").attr("src","/static/book/p"+prefix+n+".jpg");
$("#bookpage").attr("src","${ settings.BOOK_URL }p"+prefix+n+".jpg");
};
function prev_page() {
@@ -56,7 +56,7 @@ function next_page() {
</ul>
</nav>
<img id="bookpage" src="/static/book/p${ "%03i"%(page) }.jpg">
<img id="bookpage" src="${ settings.BOOK_URL }p${ "%03i"%(page) }.jpg">
</section>
</section>
</div>