{"id":11161,"date":"2014-02-22T03:25:13","date_gmt":"2014-02-22T11:25:13","guid":{"rendered":"http:\/\/37prime.wordpress.com\/?p=11161"},"modified":"2014-02-22T03:25:13","modified_gmt":"2014-02-22T11:25:13","slug":"display-latest-image-in-a-directory-using-php","status":"publish","type":"post","link":"https:\/\/37prime.com\/news\/2014\/02\/22\/display-latest-image-in-a-directory-using-php\/","title":{"rendered":"Display latest image in a directory using PHP"},"content":{"rendered":"<p>There&#8217;s no need to reinvent the wheel, they say.<\/p>\n<p>Objective: Display the latest image uploaded into a directory using PHP<\/p>\n<p>Solution: <a href=\"http:\/\/www.stormtrack.org\/forum\/showthread.php?18035-PHP-Script-to-Display-Latest-Image-in-Directory\" target=\"_blank\">PHP Script to Display Latest Image in Directory<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"php display image code\" src=\"http:\/\/37prime.com\/news\/wp-content\/uploads\/2014\/02\/php-display-image-code.jpg\" width=\"960\" height=\"540\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s no need to reinvent the wheel, they say. Objective: Display the latest image uploaded into a directory using PHP Solution: PHP Script to Display Latest Image in Directory<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[1505,2324,2511,2635],"class_list":["post-11161","post","type-post","status-publish","format-standard","hentry","category-news","tag-images","tag-php","tag-resources","tag-script"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pcNtU-2U1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts\/11161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/comments?post=11161"}],"version-history":[{"count":0,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/posts\/11161\/revisions"}],"wp:attachment":[{"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/media?parent=11161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/categories?post=11161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/37prime.com\/news\/wp-json\/wp\/v2\/tags?post=11161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}