{"id":55291,"date":"2007-04-03T12:33:37","date_gmt":"2007-04-03T12:33:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/image-extractor\/"},"modified":"2007-07-17T17:54:36","modified_gmt":"2007-07-17T17:54:36","slug":"image-extractor","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/image-extractor\/","author":170932,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"","requires":"1.5","requires_php":"","requires_plugins":"","header_name":"Image Extractor","header_author":"Michele Gobbi","header_description":"","assets_banners_color":"","last_updated":"2007-07-17 17:54:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.dynamick.it\/image-extractor-765.html","header_author_uri":"http:\/\/www.dynamick.it","rating":0,"author_block_rating":0,"active_installs":20,"downloads":10056,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-55291","plugin","type-plugin","status-closed","hentry","plugin_committers-dynamick"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/image-extractor.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Image Extractor is a WordPress plugin that extract the first image from the post and display it. \nThe plugin main feature is the capability to resize the image found to a destination size. \nThe final image is cached in a folder, so you can obtain better performances.<\/p>\n\n<p>Image Extractor will enable a new template function. It output a complete IMG tag to be inserted into your HTML code. \nThe image source is retrieved from the first image found in the current post.<\/p>\n\n<!--section=installation-->\n<p>1) Download the .zip file and extract it\n2) Upload the extrated folder (imageExtractor\/) to the WordPress plugins folder (wp-content\/plugins\/)\n3) Configure the imageExtractor.php file and set the right cache folder. Make sure it?s writable.\n4) Activate the plugin from the WordPress back office panel<\/p>\n\n<!--section=other_notes-->\n<h3>Syntax<\/h3>\n<p>The syntax is:<\/p>\n\n<p>image_extractor($resize=false, $resize_type=1, $width='', $height='', $class='', $id='', $prefix='', $suffix='')<\/p>\n\n<p>where:<\/p>\n\n<p>1) resize: indicate if the plugin has to resize the image and store it in the cache folder\n2) resize_type: there are 3 type of resizing:\n   a) 0 -&gt; image will be resized to the new output size, regardless of the original aspectratio. (default) \n   b) 1 -&gt; image will be cropped if necessary to preserve the aspectratio and avoid image distortions.\n   c)2 -&gt; image will be resized preserving its original aspectratio. differences to the new outputsize will be filled with white<\/p>\n\n<p>3) width: the destination width. If resize is false, this property only add\/change the WIDTH attribute of the IMG tag\n4) height: the destination height. If resize is false, this property only add\/change the HEIGHT attribute of the IMG tag\n5) class: add or change the CLASS attribute of the IMG tag\n6) id: add or change the ID attribute of the IMG tag\n7) prefix: add a prefix to the resulting IMG tag\n8) suffix: append a suffix to the resulting IMG tag<\/p>","raw_excerpt":"Image Extractor is a WordPress plugin that extract the first image from the post and display it.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55291"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dynamick"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55291"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55291"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55291"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55291"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55291"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}