phpbrowscap icon indicating copy to clipboard operation
phpbrowscap copied to clipboard

Maximum image width and height, tablet detection

Open ruarch opened this issue 11 years ago • 4 comments

How to get Maximum image width and height, tablet detection

ruarch avatar Dec 03 '13 12:12 ruarch

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.

quentin389 avatar Dec 03 '13 13:12 quentin389

What's the php code to check if it's a tablet?

ruarch avatar Dec 04 '13 14:12 ruarch

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.

quentin389 avatar Dec 04 '13 16:12 quentin389

ok

On Wed, Dec 4, 2013 at 4:13 PM, quentin389 [email protected] 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 .

ruarch avatar Dec 04 '13 17:12 ruarch