{"id":21748,"date":"2018-06-13T18:28:01","date_gmt":"2018-06-13T18:28:01","guid":{"rendered":"http:\/\/why_we_integrated_cloudinary_at_forestry_io"},"modified":"2024-06-01T10:36:44","modified_gmt":"2024-06-01T17:36:44","slug":"why_we_integrated_cloudinary_at_forestry_io","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io","title":{"rendered":"Why We Integrated Cloudinary at Forestry.io"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>At <a href=\"https:\/\/forestry.io\/\">Forestry<\/a>, we believe that there is a bright future for static HTML sites built with tools like Jekyll and Hugo. These tools can create sites that run well, and are easy to host and maintain, because they don\u2019t require any server-side code.<\/p>\n<p>One drawback of static sites is that they don\u2019t provide a user-friendly content management interface when compared to popular blogging platforms, like WordPress. For this reason, we sought to create the best possible content management engine that integrates easily with <a href=\"https:\/\/cloudinary.com\/glossary\/static-content\">static site<\/a> generators. Developers that use Forestry can connect the Git repository containing their static site and start editing their content in our UI right away. When users save changes to their content, Forestry will update the appropriate files and commit them back to the repository.<\/p>\n<h2>Our Git-Backed Media Library<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_700,c_fill,f_auto,q_auto\/forestry_Gitbacked_Media_Library.png\" alt=\"Our Git-Backed Media Library\" loading=\"lazy\" class=\"c-transformed-asset\"  width=\"700\" height=\"418\"\/><\/p>\n<p>A major component of Forestry\u2019s interface is its media library. It enables you to upload images and insert them into your content, as well as into <a href=\"https:\/\/jekyllrb.com\/docs\/frontmatter\/\">front matter fields<\/a>. Until recently, a user\u2019s only option for storing these uploads was to have the files committed back to their Git repository with the rest of their content.<\/p>\n<p>This has worked pretty well. Storing media in Git is great because it means your images are always available wherever your content is, and accidentally deleting images can easily be reversed by pulling them out of the commit history.<\/p>\n<p>While using Git for images has its advantages, it is not ideal for users who have a large number of images on their site. The larger your Git repo, the slower it is to use. Developers cloning and working on the repo will feel this performance degradation. In addition to increasing development time, a large number of images in your repository will also slow down the building and deployment of your website.<\/p>\n<p>We still offer the option of storing media in the Git repo by default. It\u2019s a great option that requires no additional configuration by our users. Those concerned with scalability and performance, however, needed something better.<\/p>\n<h2>Moving the Media Library to Cloudinary<\/h2>\n<p>When it came time to explore other persistence options for our media library, we looked to Cloudinary. We were already using Cloudinary to optimize the asset delivery on our own website, though we achieved this by storing the assets in our repository and uploading them to Cloudinary during deployment. By integrating Cloudinary with Forestry\u2019s media library, we could make it much easier for our users to take advantage of its features.<\/p>\n<p><a href=\"https:\/\/cloudinary.com\/blog\/automating_file_upload_and_sharing\">Cloudinary\u2019s image upload API<\/a> made it easy to implement this integration. When users choose to upload images to their Cloudinary account instead of storing them in their Git repo, the media library UI will display their Cloudinary images instead of the uploads stored in Git. Uploading images through the Forestry UI will send them to Cloudinary; but users also can upload files using Cloudinary\u2019s dashboard and the images will appear in their Forestry media library.<\/p>\n<p>Our early iterations of the feature included an interface to apply some basic image transformations. We later discarded this idea, because Cloudinary has a rich and well-documented <a href=\"https:\/\/cloudinary.com\/documentation\/image_transformations\">image transformation API<\/a> that you can access by transforming the image URL. We felt that by enabling developers to insert their own URL transformations in their layouts, it would give them maximum flexibility without requiring us to keep pace with all of Cloudinary\u2019s image transformation options.<\/p>\n<h2><a href=\"#forestry_cloudinary_div_class_content_img_outer_wrapper_style_max_width_40px_div_class_content_img_inner_wrapper_style_padding_top_100_0_img_alt_heart_src_https_cloudinary_res_cloudinary_com_image_upload_w_40_f_auto_q_auto_emoji_heart_png_style_margin_0_auto_display_block_title_heart_div_div\">Forestry + Cloudinary = <img decoding=\"async\" alt=\"heart\" src=\"https:\/\/cloudinary-res.cloudinary.com\/image\/upload\/w_40,f_auto,q_auto\/emoji_heart.png\" style=\"\/* margin: 0; *\/\/* display: block; *\/\" title=\"heart\"><\/a><\/h2>\n<p>Cloudinary support was a highly anticipated feature for us. We are thrilled to offer this option to our users to ease their media storage issues and make it easy for them to deliver optimized assets. If you\u2019d like to know more about how to use Cloudinary with Forestry, check out our blog post on using <a href=\"https:\/\/forestry.io\/blog\/master-image-delivery-with-cloudinary\/\">Cloudinary\u2019s URL transformations with a static site<\/a>. If you\u2019re interested in seeing what Forestry\u2019s all about, <a href=\"https:\/\/app.forestry.io\/signup\">create a free account<\/a> and try out our demo site.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":41,"featured_media":21749,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[119,165],"class_list":["post-21748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-file-upload","tag-image-transformation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Integrating Cloudinary with Forestry\u2019s Media Library<\/title>\n<meta name=\"description\" content=\"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why We Integrated Cloudinary at Forestry.io\" \/>\n<meta property=\"og:description\" content=\"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-13T18:28:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-01T17:36:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary-jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"847\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Why We Integrated Cloudinary at Forestry.io\",\"datePublished\":\"2018-06-13T18:28:01+00:00\",\"dateModified\":\"2024-06-01T17:36:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\"},\"wordCount\":7,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA\",\"keywords\":[\"File-upload\",\"Image Transformation\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2018\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\",\"url\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\",\"name\":\"Integrating Cloudinary with Forestry\u2019s Media Library\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA\",\"datePublished\":\"2018-06-13T18:28:01+00:00\",\"dateModified\":\"2024-06-01T17:36:44+00:00\",\"description\":\"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA\",\"width\":1540,\"height\":847},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why We Integrated Cloudinary at Forestry.io\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Integrating Cloudinary with Forestry\u2019s Media Library","description":"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io","og_locale":"en_US","og_type":"article","og_title":"Why We Integrated Cloudinary at Forestry.io","og_description":"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?","og_url":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io","og_site_name":"Cloudinary Blog","article_published_time":"2018-06-13T18:28:01+00:00","article_modified_time":"2024-06-01T17:36:44+00:00","og_image":[{"width":1540,"height":847,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary-jpg?_i=AA","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io"},"author":{"name":"","@id":""},"headline":"Why We Integrated Cloudinary at Forestry.io","datePublished":"2018-06-13T18:28:01+00:00","dateModified":"2024-06-01T17:36:44+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io"},"wordCount":7,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA","keywords":["File-upload","Image Transformation"],"inLanguage":"en-US","copyrightYear":"2018","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io","url":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io","name":"Integrating Cloudinary with Forestry\u2019s Media Library","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA","datePublished":"2018-06-13T18:28:01+00:00","dateModified":"2024-06-01T17:36:44+00:00","description":"Why Forestry decided to integrate their media library with Cloudinary instead of uploading images in Git?","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA","width":1540,"height":847},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/why_we_integrated_cloudinary_at_forestry_io#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Why We Integrated Cloudinary at Forestry.io"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649721913\/Web_Assets\/blog\/Forestry-Plus-Cloudinary\/Forestry-Plus-Cloudinary.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=21748"}],"version-history":[{"count":5,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21748\/revisions"}],"predecessor-version":[{"id":34215,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/21748\/revisions\/34215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/21749"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=21748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=21748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=21748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}