{"id":17162,"date":"2012-03-01T07:37:26","date_gmt":"2012-03-01T07:37:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mobile-first-content-images\/"},"modified":"2012-03-03T20:29:47","modified_gmt":"2012-03-03T20:29:47","slug":"mobile-first-content-images","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/mobile-first-content-images\/","author":7998012,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"trunk","tested":"3.3.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Mobile First Content Images","header_author":"Erik Portin, erikportin@gmail.com","header_description":"","assets_banners_color":"","last_updated":"2012-03-03 20:29:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/ww.erikportin.com\/mobile-first-content-images","header_author_uri":"http:\/\/www.erikportin.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1795,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539420","resolution":"1","location":"plugin"}},"screenshots":{"1":"Screenshot of admin section"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[43728,29159,841,11416,30738],"plugin_category":[],"plugin_contributors":[96734],"plugin_business_model":[],"class_list":["post-17162","plugin","type-plugin","status-publish","hentry","plugin_tags-content-images","plugin_tags-image-size","plugin_tags-mobile","plugin_tags-mobile-first","plugin_tags-responsive-design","plugin_contributors-erikportin","plugin_committers-erikportin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mobile-first-content-images.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/mobile-first-content-images\/trunk\/screenshot-1.png?rev=1539420","caption":"Screenshot of admin section"}],"raw_content":"<!--section=description-->\n<p>The plugin tries to detect what device the user is on. If it's detected as a mobile device or unknown the content images can be swapped with a smaller Post Thumbnail size of choice to save bandwidth.<\/p>\n\n<h4>Requriements<\/h4>\n\n<ul>\n<li>PHP5<\/li>\n<li>Tested and works with Worpress version 3.0, 3.1, 3.2 and 3.3<\/li>\n<li>NOT working in Wordpress 2.9 and all version older than that<\/li>\n<li>Will probably cause some issues with other plugins trying to modify content images<\/li>\n<\/ul>\n\n<h4>Test the plugin<\/h4>\n\n<p>When testing if the plugin swapped your images use a real device or the iphone simulator. Changing the useragent to mobile on you desktop browser will not work.<\/p>\n\n<h4>Make it better<\/h4>\n\n<p>You can find the code on <a href=\"http:\/\/github.com\/erikportin\/Mobile-Images\/\" title=\"Github\">Github<\/a> and do whatever you like with it<\/p>\n\n<h4>Thank you<\/h4>\n\n<p><a href=\"http:\/\/code.google.com\/p\/phpquery\/\" title=\"phpQuery\">phpQuery<\/a> for making it easy to parse the html and <a href=\"http:\/\/www.brettjankord.com\/category\/categorizr\/\" title=\"Categorizr\">Categorizr<\/a> for mobile first device detection.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"Load smaller content images for mobile devcices with a mobile first approach","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17162"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/erikportin"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17162"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17162"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17162"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17162"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17162"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}