Support

Account

Home Forums Add-ons Gallery Field Bring gallery image into have post array Reply To: Bring gallery image into have post array

  • Ok this is what I get out after add that code

    Array
    (
        [0] => Array
            (
                [id] => 49
                [alt] => 
                [title] => exet2
                [caption] => 
                [description] => 
                [mime_type] => image/jpeg
                [url] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet2.jpg
                [width] => 1280
                [height] => 905
                [sizes] => Array
                    (
                        [thumbnail] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet2-150x150.jpg
                        [thumbnail-width] => 150
                        [thumbnail-height] => 150
                        [medium] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet2-300x212.jpg
                        [medium-width] => 300
                        [medium-height] => 212
                        [large] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet2-1024x724.jpg
                        [large-width] => 1024
                        [large-height] => 724
                    )
    
            )
    
        [1] => Array
            (
                [id] => 50
                [alt] => 
                [title] => exet1
                [caption] => 
                [description] => 
                [mime_type] => image/jpeg
                [url] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet1.jpg
                [width] => 1280
                [height] => 905
                [sizes] => Array
                    (
                        [thumbnail] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet1-150x150.jpg
                        [thumbnail-width] => 150
                        [thumbnail-height] => 150
                        [medium] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet1-300x212.jpg
                        [medium-width] => 300
                        [medium-height] => 212
                        [large] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet1-1024x724.jpg
                        [large-width] => 1024
                        [large-height] => 724
                    )
    
            )
    
        [2] => Array
            (
                [id] => 51
                [alt] => 
                [title] => exet3
                [caption] => 
                [description] => 
                [mime_type] => image/jpeg
                [url] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet3.jpg
                [width] => 1280
                [height] => 882
                [sizes] => Array
                    (
                        [thumbnail] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet3-150x150.jpg
                        [thumbnail-width] => 150
                        [thumbnail-height] => 150
                        [medium] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet3-300x206.jpg
                        [medium-width] => 300
                        [medium-height] => 206
                        [large] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet3-1024x705.jpg
                        [large-width] => 1024
                        [large-height] => 705
                    )
    
            )
    
        [3] => Array
            (
                [id] => 52
                [alt] => 
                [title] => exet5
                [caption] => 
                [description] => 
                [mime_type] => image/jpeg
                [url] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet5.jpg
                [width] => 1280
                [height] => 777
                [sizes] => Array
                    (
                        [thumbnail] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet5-150x150.jpg
                        [thumbnail-width] => 150
                        [thumbnail-height] => 150
                        [medium] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet5-300x182.jpg
                        [medium-width] => 300
                        [medium-height] => 182
                        [large] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet5-1024x622.jpg
                        [large-width] => 1024
                        [large-height] => 622
                    )
    
            )
    
        [4] => Array
            (
                [id] => 54
                [alt] => 
                [title] => exet4
                [caption] => 
                [description] => 
                [mime_type] => image/jpeg
                [url] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet4.jpg
                [width] => 1280
                [height] => 914
                [sizes] => Array
                    (
                        [thumbnail] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet4-150x150.jpg
                        [thumbnail-width] => 150
                        [thumbnail-height] => 150
                        [medium] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet4-300x214.jpg
                        [medium-width] => 300
                        [medium-height] => 214
                        [large] => http://169.254.168.252:8888/oxf/wp-content/uploads/2014/01/exet4-1024x731.jpg
                        [large-width] => 1024
                        [large-height] => 731
                    )
    
            )
    
    )