shimmie2
shimmie2 copied to clipboard
Changing default values for "Image Controls"
I'm sorry to ask such a stupid question... But I really tried my best to find the piece of code that controls the default values of Image Control block, and couldn't find it
The default value isn't stored anywhere at the start, it just defaults to "Full Size". Once the option has been changed the value is stored in a cookie in the user's browser. When the user visits a subsequent image it just loads the value saved in the cookie. The cookie and zoom operation is done in ext/handle_pixel/script.js
Thank you. So the first value is set as default?