{"action":"created","issue":{"url":"https://api.github.com/repos/wpbrasil/odin/issues/267","labels_url":"https://api.github.com/repos/wpbrasil/odin/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/wpbrasil/odin/issues/267/comments","events_url":"https://api.github.com/repos/wpbrasil/odin/issues/267/events","html_url":"https://github.com/wpbrasil/odin/issues/267","id":60562905,"number":267,"title":"Título Imagem Galeria de Fotos","user":{"login":"AlyssonIdeagi","id":11085286,"avatar_url":"https://avatars.githubusercontent.com/u/11085286?v=3","gravatar_id":"","url":"https://api.github.com/users/AlyssonIdeagi","html_url":"https://github.com/AlyssonIdeagi","followers_url":"https://api.github.com/users/AlyssonIdeagi/followers","following_url":"https://api.github.com/users/AlyssonIdeagi/following{/other_user}","gists_url":"https://api.github.com/users/AlyssonIdeagi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlyssonIdeagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlyssonIdeagi/subscriptions","organizations_url":"https://api.github.com/users/AlyssonIdeagi/orgs","repos_url":"https://api.github.com/users/AlyssonIdeagi/repos","events_url":"https://api.github.com/users/AlyssonIdeagi/events{/privacy}","received_events_url":"https://api.github.com/users/AlyssonIdeagi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-10T20:23:04Z","updated_at":"2015-03-10T21:03:24Z","closed_at":"2015-03-10T20:57:30Z","body":"Boa tarde a todos, como faço pra puxar o TÍTULO de uma imagem?\r\n\r\nEsse é o código que uso para chamar a imagem:\r\n\r\n<?php \r\n    $args = array('post_type' => 'consultoria','posts_per_page' => 1,'order' => ASC);\r\n    query_posts($args);\r\n    if (have_posts()) :\r\n      ?>\r\n    <?php\r\n    // Start the Loop.\r\n    while ( have_posts() ) : the_post();\r\n    global $post, $wpdb, $nggdb; \r\n    $galeria_de_fotos   = get_post_meta($post->ID, 'galeria_de_fotos', true);\r\n    ?>\r\n    <ul>\r\n      <?php foreach ( explode( ',', $galeria_de_fotos ) as $image_id ){?>\r\n      <?php $imageUrl = wp_get_attachment_image_src($image_id, 'full' ); ?>\r\n      <li class=\"background1\">\r\n        <a href=\"<?php echo $imageUrl[0]; ?>\" class=\"fancybox-button\" rel=\"fancybox-button\">\r\n          <?php $resizer = Odin_Thumbnail_Resizer::get_instance();\r\n          $image = $resizer->process($imageUrl[0], 185, 185, true, true ); ?>\r\n          <?php $alt = get_image_tag($alt); ?>\r\n          <?php echo '<img class=\"wp-image-thumb img-responsive imagem'.$i.' ' . sanitize_html_class( $class ) . '\" src=\"' .$image. '\" width=\"' .esc_attr( $width ) . '\" height=\"' .esc_attr( $height ) . '\" title=\"?\"; ?>\r\n        </a>\r\n      </li>\r\n      <?php } ?>\r\n    </ul>"},"comment":{"url":"https://api.github.com/repos/wpbrasil/odin/issues/comments/78147660","html_url":"https://github.com/wpbrasil/odin/issues/267#issuecomment-78147660","issue_url":"https://api.github.com/repos/wpbrasil/odin/issues/267","id":78147660,"user":{"login":"AlyssonIdeagi","id":11085286,"avatar_url":"https://avatars.githubusercontent.com/u/11085286?v=3","gravatar_id":"","url":"https://api.github.com/users/AlyssonIdeagi","html_url":"https://github.com/AlyssonIdeagi","followers_url":"https://api.github.com/users/AlyssonIdeagi/followers","following_url":"https://api.github.com/users/AlyssonIdeagi/following{/other_user}","gists_url":"https://api.github.com/users/AlyssonIdeagi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlyssonIdeagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlyssonIdeagi/subscriptions","organizations_url":"https://api.github.com/users/AlyssonIdeagi/orgs","repos_url":"https://api.github.com/users/AlyssonIdeagi/repos","events_url":"https://api.github.com/users/AlyssonIdeagi/events{/privacy}","received_events_url":"https://api.github.com/users/AlyssonIdeagi/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T21:03:24Z","updated_at":"2015-03-10T21:03:24Z","body":"Obrigado allysonsouza pela ajuda abraços"}}