5 ms·
Web frontend people... If you're ever in the position to provide a comparison of two images in a Web page like this, please consider providing a button to togg
by neilv 3y ago
Web frontend people...
If you're ever in the position to provide a comparison of two images in a Web page like this, please consider providing a button to toggle back and forth between the two. (The toggling can also show the label for which is currently being shown.)
Neither mechanism this Web page provides is as useful as that, IMHO.
- yodon 3y agoAgreed. You want to be able to do a blink comparison. The animation is just a distraction. That said, a bigger problem is that, without having read your comment here, I doubt I would have noticed there was an option to see changes in the image, and I certainly wouldn't have poked at it hard enough to discover their were multiple affordances available.
- Arrath 3y agoTBH I've always like the little 'wiper' widget that I can control and swipe back and forth at my own volition.
- downvotetruth 3y agoDouble clicking in the slider moves it to that double clicked point. Double clicking on the same spot to undo or return to the before position seems like intuitive missing functionality.
- moritzwarhier 3y agoYou only have to click/tap once, right? At least on mobile. Or was this changed? Honestly that "undo" thing sounds like the least intuitive feature in the world to me. Would just seem like glitchy behavior to me. Regarding OP: > If you're ever in the position to provide a comparison of two images in a Web page like this, please consider providing a button to toggle back and forth between the two. (The toggling can also show the label for which is currently being shown.) > Neither mechanism this Web page provides is as useful as that, IMHO. But the "show only left/right" buttons below the slider do exactly that, no? The 0.5s animation would not be needed ok. And the labels are not clear. A single toggle button with changing label would be great, I agree > TBH I've always like the little 'wiper' widget that I can control and swipe back and forth at my own volition. The part that's missing here is the drag function right. Also, the sliding thing can be selected like text. Good example for something where using polished components is better than one/off code, IMO. E.g. something like this https://img-comparison-slider.sneas.io/examples.html https://img-comparison-slider.sneas.io/examples.html Agree with OP about the button thing, that's really the clearest and simplest thing and should be added to such a component for better discoverability and to make the slider thing optional
- downvotetruth 3y agoAdding a label is a waste of space when the functionality is known.
- bradknowles 3y agoThere's a "wiper" style interface on the page at https://svs.gsfc.nasa.gov/5142 https://svs.gsfc.nasa.gov/5142 that contains all six of the comparisons.
- deleted 3y ago[deleted]