GaretJax / phpbrowscap

Standalone replacement for php's native get_browser() function
MIT License
429 stars 69 forks source link

Maximum image width and height, tablet detection #49

Open ruarch opened 10 years ago

ruarch commented 10 years ago

How to get Maximum image width and height, tablet detection

quentin389 commented 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.

ruarch commented 10 years ago

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

quentin389 commented 10 years ago

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.

ruarch commented 10 years ago

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 .