{"id":7897,"date":"2010-01-25T16:07:52","date_gmt":"2010-01-25T16:07:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-latestphotos\/"},"modified":"2012-06-01T15:10:18","modified_gmt":"2012-06-01T15:10:18","slug":"wp-latestphotos","status":"publish","type":"plugin","link":"https:\/\/ewe.wordpress.org\/plugins\/wp-latestphotos\/","author":2501385,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"WP-LatestPhotos","header_author":"Andrej Mihajlov","header_description":"","assets_banners_color":"","last_updated":"2012-06-01 15:10:18","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/codeispoetry.ru\/","header_plugin_uri":"","header_author_uri":"http:\/\/www.codeispoetry.ru\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":5835,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>n\/a<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.2","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539021","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539021","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539021","resolution":"1","location":"plugin"}},"screenshots":{"1":"In action (custom CSS)","2":"Settings page","3":"Manage directly from media library"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2264,69535,163,69534,205],"plugin_category":[50],"plugin_contributors":[86807],"plugin_business_model":[],"class_list":["post-7897","plugin","type-plugin","status-publish","hentry","plugin_tags-attachment","plugin_tags-fresh-photos","plugin_tags-images","plugin_tags-latest-photos","plugin_tags-photos","plugin_category-media","plugin_contributors-andddd","plugin_committers-andddd"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-latestphotos.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-latestphotos\/trunk\/screenshot-1.png?rev=1539021","caption":"In action (custom CSS)"},{"src":"https:\/\/ps.w.org\/wp-latestphotos\/trunk\/screenshot-2.png?rev=1539021","caption":"Settings page"},{"src":"https:\/\/ps.w.org\/wp-latestphotos\/trunk\/screenshot-3.png?rev=1539021","caption":"Manage directly from media library"}],"raw_content":"<!--section=description-->\n<p>WP-LatestPhotos is a WordPress plugin which extends your media library and gives the ability to highlight some of your latest photos. Selected images can be shown in your sidebar\u2014or wherever you need them to be\u2014through the shortcode or inline PHP code.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Sidebar widget and shortcode support<\/li>\n<li>Photo randomizer<\/li>\n<li>Highly customizable through CSS. Plugin provides example CSS which can be used for demo purposes and can be switched off in the plugin settings. This way you can define your own CSS for your thumbnail galleries without being stuck with the excessive styles which most plugins come with, slowing down your website.<\/li>\n<li>Plugin provides the ability to include Thickbox bundled with your WordPress installation but you also can switch it off and use any other external library. It supports: Thickbox, Fancybox, Lightbox, Shadowbox. If you would like to use any other media viewer you\u2019re should install an appropriate plugin.<\/li>\n<li>Thumbnails are located in the default image folder and named according to the WordPress convention.<\/li>\n<li>No performance bottlenecks. Thumbnails are generated only once\u2014when marked.<\/li>\n<li>AJAXified thumbnail image cache gets rebuilt in case you change thumbnail size in the settings. Re-generating 10 images per request occurs with a little delay, so your server won\u2019t be overloaded and scripts won\u2019t stop working with a timeout error.<\/li>\n<\/ul>\n\n<h4>Usage<\/h4>\n\n<p>Use WP-LatestPhotos shortcode to add your photos to your post.<\/p>\n\n<pre><code>[WP-LatestPhotos limit=\"6\"]\n<\/code><\/pre>\n\n<p>Also you can do it using these lines of PHP:<\/p>\n\n<pre><code>$options = array('limit' =&gt; 6, 'echo' =&gt; 1, 'link' =&gt; 'thickbox');\nwp_latestphotos($options);\n<\/code><\/pre>\n\n<h4>Options<\/h4>\n\n<ul>\n<li><code>limit<\/code> \u2013 number of images to display (6 by default)<\/li>\n<li><code>id<\/code> \u2013 you can specify an ID for the unordered list of images<\/li>\n<li><code>link<\/code> \u2013 one or more values that determine the URL of where a clicked image takes the user to<\/li>\n<\/ul>\n\n<p>Possible values for <strong>link option<\/strong> are:<\/p>\n\n<ul>\n<li><code>post_parent<\/code> \u2013 URL of the post to which the image is attached (it works only if image is actually attached, doh)<\/li>\n<li><code>attachment<\/code> \u2013 attachment page URL (works only if page is attached to a post)<\/li>\n<li><code>full<\/code> \u2013 full-size image URL<\/li>\n<li><code>thickbox, fancybox, lightbox or shadowbox<\/code> \u2013 media viewer dependent link<\/li>\n<li>empty value means no link<\/li>\n<\/ul>\n\n<p>You can mix these values up too. For example, you can use a sequence like this: post_parent, thickbox. If an image is attached to some post it uses a link to this post, otherwise it uses a Thickbox-dependent link.<\/p>\n\n<ul>\n<li><code>before, after<\/code> \u2013 additional HTML before and after an IMG tag of each photo<\/li>\n<li><code>echo<\/code> \u2013 0 or 1, automatically outputs generated HTML; useful when applying a function inside PHP templates<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>WP-LatestPhotos requires WordPress 2.8 or higher.<\/p>\n\n<ul>\n<li>Download and extract the plugin files onto your hard drive<\/li>\n<li>Copy the extracted folder into your WP plugin directory (usually <code>wp-content\/plugins<\/code>)<\/li>\n<li>Activate the plugin<\/li>\n<\/ul>\n\n<!--section=faq-->\n<p>n\/a<\/p>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed thickbox bug<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed image cache bugs<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Image randomizer bug fix<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Image generation major bug fix<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"WP-LatestPhotos is a WordPress plugin which extends your media library and gives the ability to highlight some of your latest photos.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7897"}],"author":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/andddd"}],"wp:attachment":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7897"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7897"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7897"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7897"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7897"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}