Proposal: Adding image size difference in generation mobile platform, tablet or desktop 

It would be nice to go to resize a size chart to choose the size according to detected by the header sent by the client browser platform.

The functionality would be neutral detection device, is another component that is recommeded in the documentation for it.

Why I joined a switchable option parameter can be used on any action images.

Simply append an action Switch case sensitive and use the action as shown. eg

resizeSwitch(
array(
"phone" => array(150, 150),
"tablet" => array(300, 300),
"other" => array(450, 450),
), "phone");