function setpic() {
+ if ("exposure" in picinfo[files[input_index]]) {
+ exposure = picinfo[files[input_index]].exposure;
+ } else {
+ picinfo[files[input_index]].exposure = exposure;
+ localStorage.picsorter_picinfo = JSON.stringify(picinfo);
+ }
$("#pic").attr("src", zoom + exposure + "/" + files[input_index]);
}
function change_exposure(amount) {
exposure += amount;
+ picinfo[files[input_index]].exposure = exposure;
setpic();
var display_exposure = (exposure / 4) - 3.5;
say((display_exposure >= 0 ? "+" : "") + display_exposure);