Skip to content

Instantly share code, notes, and snippets.

@jackey
Created April 26, 2014 03:44
Show Gist options
  • Select an option

  • Save jackey/11311194 to your computer and use it in GitHub Desktop.

Select an option

Save jackey/11311194 to your computer and use it in GitHub Desktop.
post data to drupal
[field_shen_image] => Array
(
[und] => Array
(
[1] => Array
(
[width] => 500
[_weight] => 1
[display] => 1
[fid] => 486
[height] => 600
)
[0] => Array
(
[width] => 500
[_weight] => 0
[display] => 1
[fid] => 485
[height] => 600
)
[3] => Array
(
[width] => 500
[_weight] => 3
[display] => 1
[fid] => 488
[height] => 600
)
[2] => Array
(
[width] => 500
[_weight] => 2
[display] => 1
[fid] => 487
[height] => 600
)
[5] => Array
(
[width] => 500
[_weight] => 5
[display] => 1
[fid] => 490
[height] => 600
)
[4] => Array
(
[width] => 500
[_weight] => 4
[display] => 1
[fid] => 489
[height] => 600
)
[7] => Array
(
[width] => 500
[_weight] => 7
[display] => 1
[fid] => 492
[height] => 600
)
[6] => Array
(
[width] => 500
[_weight] => 6
[display] => 1
[fid] => 491
[height] => 600
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment