Open ruarch opened 10 years ago
That's not currently possible. We only detect if something IS a tablet, sometimes what device it is specifically, but there is no width and height information available.
I will add it as a feature proposal to the source project though, as it's an interesting idea.
What's the php code to check if it's a tablet?
Oh snap, I was thinking about https://github.com/quentin389/UserAgentInfo ... Yeah, you can't distinguish mobile phone from tablets. All tablets will be marked as "isMobileDevice" = true.
ok
On Wed, Dec 4, 2013 at 4:13 PM, quentin389 notifications@github.com wrote:
Oh snap, I was thinking about https://github.com/quentin389/UserAgentInfo... Yeah, you can't distinguish mobile phone from tablets. All tablets will be marked as "isMobileDevice" = true.
— Reply to this email directly or view it on GitHubhttps://github.com/GaretJax/phpbrowscap/issues/49#issuecomment-29818902 .
How to get Maximum image width and height, tablet detection