imagetypes() gives the image format and types supported by the current version of GD-PHP.
Tag Archives: Image
Get the width and height of an image using a function in PHP
list($width,$height)=getimagesize($_FILES[‘business_logo’][‘tmp_name’]);
Image path in phtml files – Magento
<?php echo $this->getSkinUrl(‘images/your_image_name.jpg’) ?>
The function will return the full path of the image given as parameter .