aitormendez

wp_get_attachment_metadata

Jun 11th, 2017
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array (size=5)
  2.   'width' => int 4160
  3.   'height' => int 2340
  4.   'file' => string '2017/06/sol.jpg' (length=15)
  5.   'sizes' =>
  6.     array (size=8)
  7.       'thumbnail' =>
  8.         array (size=4)
  9.           'file' => string 'sol-150x150.jpg' (length=15)
  10.           'width' => int 150
  11.           'height' => int 150
  12.           'mime-type' => string 'image/jpeg' (length=10)
  13.       'medium' =>
  14.         array (size=4)
  15.           'file' => string 'sol-300x169.jpg' (length=15)
  16.           'width' => int 300
  17.           'height' => int 169
  18.           'mime-type' => string 'image/jpeg' (length=10)
  19.       'medium_large' =>
  20.         array (size=4)
  21.           'file' => string 'sol-768x432.jpg' (length=15)
  22.           'width' => int 768
  23.           'height' => int 432
  24.           'mime-type' => string 'image/jpeg' (length=10)
  25.       'large' =>
  26.         array (size=4)
  27.           'file' => string 'sol-1024x576.jpg' (length=16)
  28.           'width' => int 1024
  29.           'height' => int 576
  30.           'mime-type' => string 'image/jpeg' (length=10)
  31.       'i600' =>
  32.         array (size=4)
  33.           'file' => string 'sol-600x338.jpg' (length=15)
  34.           'width' => int 600
  35.           'height' => int 338
  36.           'mime-type' => string 'image/jpeg' (length=10)
  37.       'i1000' =>
  38.         array (size=4)
  39.           'file' => string 'sol-1000x563.jpg' (length=16)
  40.           'width' => int 1000
  41.           'height' => int 563
  42.           'mime-type' => string 'image/jpeg' (length=10)
  43.       'i1200' =>
  44.         array (size=4)
  45.           'file' => string 'sol-1200x675.jpg' (length=16)
  46.           'width' => int 1200
  47.           'height' => int 675
  48.           'mime-type' => string 'image/jpeg' (length=10)
  49.       'i1800' =>
  50.         array (size=4)
  51.           'file' => string 'sol-1800x1013.jpg' (length=17)
  52.           'width' => int 1800
  53.           'height' => int 1013
  54.           'mime-type' => string 'image/jpeg' (length=10)
  55.   'image_meta' =>
  56.     array (size=12)
  57.       'aperture' => string '2' (length=1)
  58.       'credit' => string '' (length=0)
  59.       'camera' => string 'Moto G (4)' (length=10)
  60.       'caption' => string '' (length=0)
  61.       'created_timestamp' => string '1487617010' (length=10)
  62.       'copyright' => string '' (length=0)
  63.       'focal_length' => string '3.64' (length=4)
  64.       'iso' => string '50' (length=2)
  65.       'shutter_speed' => string '0.0057471264367816' (length=18)
  66.       'title' => string '' (length=0)
  67.       'orientation' => string '0' (length=1)
  68.       'keywords' =>
  69.         array (size=0)
  70.           empty
RAW Paste Data