protected function createImagesList($media)
    {
        $url = $media->thumbnail_url;
        $width = $media->thumbnail_width;
        $height = $media->thumbnail_height;

        return array(
            array(
                'url'    => $url,
                'width'  => $width,
                'height' => $height,
                'area'   => ($width * $height)
            )
        );
    }
protected function createImagesList($media)
    {
        $url = $media->thumbnail_url;
        $width = $media->thumbnail_width;
        $height = $media->thumbnail_height;

        return array(
            array(
                'url'    => $url,
                'width'  => $width,
                'height' => $height,
                'area'   => ($width * $height)
            )
        );
    }
protected function createImagesList ( $ media ) { $ url = $ media -> thumbnail_url ; $ width = $ media -> thumbnail_width ; $ height = $ media -> thumbnail_height ; return array ( array ( 'url' => $ url , 'width' => $ width , 'height' => $ height , 'area' => ( $ width * $ height ) ) ) ; }
Creates the images list.

@param object $media The media object
@return array
Creates the images list .