isImage

Navigation:  Development > Function Reference > Helpers > Validation >

isImage

Previous pageReturn to chapter overviewNext page

Check file extension of a file in '.gif', '.jpg', '.jpeg', '.png'

 

App::Utility()->InImage(Value)

 

Parameter

Description

Value

Value to check

 

 

See bellow example: 

 
$return = App::Helper('Validation')->isImage('abc.jpg');