mirror of
https://forge.murkfall.net/bluesaxman/imapi.git
synced 2026-03-13 02:54:19 -06:00
initial git commit of imapi
This commit is contained in:
9
libs/j/refreshImage
Normal file
9
libs/j/refreshImage
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
function refreshImage() {
|
||||
var galleryName = window.curGallery.Name;
|
||||
window.curImage.Name = window.curGallery.imageList[window.curImage.Position];
|
||||
window.curImage.controls.position.innerHTML = window.curImage.Name;
|
||||
window.curImage.container.imagePlace.style.backgroundImage = "url("+window.api_url+"?i!"+window.curImage.Name+"!"+galleryName+"!thumb)";
|
||||
window.curImage.container.imagePlace.image.src = "";
|
||||
window.curImage.container.imagePlace.image.src = window.api_url+"?i!"+window.curImage.Name+"!"+galleryName;
|
||||
}
|
||||
Reference in New Issue
Block a user