Page 1 of 1
Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 2:40 pm
by gofrank
I've used the Image Comparison object on a couple of web sites. I notice the object works great when using a mouse but does not react when tapped on a touch screen device. I've tried setting the trigger to "click" and "hover", but on touch screens neither setting works. Am I missing a setting or is this an issue with touch screens?
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 3:12 pm
by Pablo
It seems to be working for me on my iPhone and iPad.
What do I need to do to make it not work?
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 3:16 pm
by gofrank
Doesn't work on my Samsung A13 or on my Kindle Fire tablet when I tap with my finger. Please take a look at the two comparison images at
https://www.firehawkinstallations.com/ If those work for you, then it's just my mobile devices.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 3:24 pm
by Pablo
I'm sorry, I do not have a Samsung or Kindle device so I cannot try this myself.
But your website for for me on my iPhone and iPad.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 3:33 pm
by jerryco
I have an Android 8.x phone and I can confirm it not working using Chrome 110.0.5481.65. It works fine om my laptop on Windows 10 and Firefox.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 4:50 pm
by crispy68
I can confirm it is not working on my Samsung Galaxy Note 20.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 5:05 pm
by Pablo
Unfortunately, it will be difficult to me to do something about this without access to a Samsung device.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 5:11 pm
by jerryco
Well mine ain't Samsung but if you're looking for an Android phone, you might want to consider a second hand from Marktplaats

Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 5:21 pm
by BaconFries
Pablo the issue is most likely related to Andriod devices. Fire tablets by Ama*on use Fire OS which is based on Androids open project system and Samsung use Android with there own UI. if you could get your hands on Mobile/Cell running Android maybe you could find a solution.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 7:01 pm
by BaconFries
Sorry to have hijacked the original thread the following may be useful just for using Andriod..
Understood, as a alternative you could install Andriod (yes it is possible) on a PC or have it as a dual boot. See the following url reading from:
3. Emulate Full Android Experience With Genymotion
4. Run Android Directly on Your PC With Android-x86
https://uk.pcmag.com/blackberry-apps/12 ... on-your-pc
Just a suggestion as it would allow you to test Andriod and save you having to purchase a Andriod Phone.
Re: Image Comparison on Tablet/Smartphone
Posted: Fri Feb 17, 2023 8:38 pm
by Pablo
Thanks, I will into this!
Re: Image Comparison on Tablet/Smartphone
Posted: Sat Feb 18, 2023 1:03 pm
by Pablo
The issue should now be fixed in the latest build (2/18/2023)
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 2:37 am
by gofrank
Downloaded the latest build. Uploaded the site page. Cleared the cache on my smartphone. Still not working.
The trigger is set to "click". Is this correct for smartphones/tablets?
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:45 am
by crispy68
The update works for me. I tried your demo and it is not working. Are you sure you did a full re-plublish of the page including all the .js files? It doesn't look like the latest .js file is uploaded on your demo.
I created a quick demo here. It works for me using click. Does it work for you?
https://webbuildertemplates.com/demo/compare/
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 8:01 am
by Pablo
The script on the server is still the old version (wb.imagecompare.min.js)
You will need to republish all files.
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 11:16 am
by jerryco
Kudos to BaconFries for providing Pablo a way to look into the workings in Android!
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 1:20 pm
by BaconFries
Thanks jerryco, not sure if Pablo used any of the methods, he may have just just done his usual magic to get it to work.
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:07 pm
by Pablo
I decided to buy a 'cheap' Android Tablet. That helped me solve the issue within 5 minutes;)
Only now I have a device that I will probably will never use again...
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:10 pm
by jerryco
Well, maybe there will be more use for it?
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:14 pm
by Pablo
Maybe... although I never needed in the last 10 years.
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:16 pm
by jerryco
What version is it?
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:22 pm
by Pablo
Android 12
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 3:33 pm
by jerryco
Well that should last a few years I guess? It's always easy to have options

Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 4:16 pm
by gofrank
Sorry, I was testing the change on yet another site (where it still doesn't work for me). So now I've republished the Firehawk site using the latest build. The trigger is set to "click". Cleared the cache and then refreshed the browser. On my Samsung phone the comparison sliders still do not work. Same for the Kindle Fire tablet. Maybe this is just something to do with the browsers' engine.
The link again:
https://www.firehawkinstallations.com/
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 4:37 pm
by Pablo
Sorry, but the file is not up-to-date.
You will need to republish all files.
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 7:46 pm
by gofrank
All sorted now! Thank you, Pablo, for your excellent support and service.
Re: Image Comparison on Tablet/Smartphone
Posted: Sun Feb 19, 2023 7:56 pm
by jerryco
gofrank, does it work on your Samsung A13 or on your Kindle Fire tablet currently? I tried reloading on my phone but it still doesn't work. I do not know how to empty cache for one page though, refreshing didn't do it. Can you verify it works on your problematic devices?
Re: Image Comparison on Tablet/Smartphone
Posted: Mon Feb 20, 2023 1:19 pm
by gofrank
jerryco, yes it is now working on the Samsung A13, the Kindle Fire, and also on my Lenovo touchscreen laptop (where it did not work previously). On the laptop, the comparison worked using the mouse, but touching the screen did nothing. Once I uploaded ALL the files (I was missing the js), everything worked perfectly.
I did have to go on the Samsung A13, open Chrome, go to Settings, Privacy and security and tap Clear browsing data to get it to clear the cache. Then, back on the page, hitting refresh got everything working.
Re: Image Comparison on Tablet/Smartphone
Posted: Mon Feb 20, 2023 1:22 pm
by jerryco
Nice to know. Good luck with your website.