{"id":53802,"date":"2017-01-23T13:37:07","date_gmt":"2017-01-23T13:37:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flyimage\/"},"modified":"2017-01-23T13:37:07","modified_gmt":"2017-01-23T13:37:07","slug":"flyimage","status":"publish","type":"plugin","link":"https:\/\/ga.wordpress.org\/plugins\/flyimage\/","author":13824354,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"FlyImage","header_author":"Remo Blaser","header_description":"","assets_banners_color":"","last_updated":"2017-01-23 13:37:07","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/remoblaser\/wp-flyimage","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1173,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-53802","plugin","type-plugin","status-publish","hentry"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/flyimage.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>flyimage allows you to specify the image size you would like to receive in your Themes HTML!\nThe file will automatically be created on a first visit. Further visits will use the already created file.\nCached images will be stored in your uploads Directory (usually wp-content\/uploads\/fly\/)<\/p>\n\n<h3>Single Image<\/h3>\n\n<p><strong>flyImage($attachmentId \/ $attachmentUrl, $width, $height)<\/strong><\/p>\n\n<p>Example: Image with a width of 200px<\/p>\n\n<pre><code>&lt;img src=\"{{ flyImage(1, 200) }}\" \/&gt;\n<\/code><\/pre>\n\n<p>Example: Image width a width of 300px and a height of 200px (cropped)<\/p>\n\n<pre><code>&lt;img src=\"{{ flyImage(1, 300, 200) }}\" \/&gt;\n<\/code><\/pre>\n\n<p>Example: Image width a width of 300px and a height of 200px (uncropped)<\/p>\n\n<pre><code>&lt;img src=\"{{ flyImage(1, 300, 200, false) }}\" \/&gt;&lt;h3&gt;Get a full SourceSet&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p><strong>flyImageSourceSet($attachmentId \/ $attachmentUrl, [$width1, $width2, ...])<\/strong><\/p>\n\n<p>Example: Sizes: 400px, 800px and 1200px (width):<\/p>\n\n<pre><code>&lt;img srcset=\"{{ flyImageSourceSet(1, [400, 800, 1200]) }}\" \/&gt;\n<\/code><\/pre>","raw_excerpt":"flyimage allows you to specify the image size you would like to receive in your Themes HTML! The file will automatically be created on a first visit.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53802"}],"author":[{"embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/remoblaser"}],"wp:attachment":[{"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53802"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53802"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53802"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53802"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53802"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ga.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}