{"id":899,"date":"2023-01-14T00:12:00","date_gmt":"2023-01-14T00:12:00","guid":{"rendered":"https:\/\/make.wordpress.org\/openverse\/?p=899"},"modified":"2023-01-14T00:12:01","modified_gmt":"2023-01-14T00:12:01","slug":"openverse-switches-to-photon-for-thumbnail-generation","status":"publish","type":"post","link":"https:\/\/make.wordpress.org\/openverse\/2023\/01\/14\/openverse-switches-to-photon-for-thumbnail-generation\/","title":{"rendered":"Openverse switches to Photon for thumbnail generation"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><span tabindex='0' class='glossary-item-container'>Openverse<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Openverse<\/span> <span class='glossary-item-description'><strong>Openverse\u00a0<\/strong>is a search engine for openly-licensed media, including images and audio.\u00a0Find Openverse on <a href=\"https:\/\/github.com\/WordPress?q=openverse\">GitHub<\/a> and at <a href=\"https:\/\/openverse.org\">https:\/\/openverse.org<\/a>.<\/span><\/span><\/span> has moved from a self-hosted <a href=\"https:\/\/github.com\/h2non\/imaginary\">Imaginary<\/a> instance for thumbnail generation to using <a href=\"https:\/\/developer.wordpress.com\/docs\/photon\/\">Photon<\/a>. Photon is a fast and flexible <a href=\"https:\/\/code.trac.wordpress.org\/browser\/photon\">open-source<\/a> image service with powerful tools for cropping, resizing, and filtering images.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The hosted instance of Photon we\u2019re connecting to is provided to all Jetpack-connected WordPress sites, or sites hosted on the <span tabindex='0' class='glossary-item-container'>WordPress.com<span class='glossary-item-hidden-content'><span class='glossary-item-header'>WordPress.com<\/span> <span class='glossary-item-description'>An online implementation of WordPress code that lets you immediately access a new WordPress environment to publish your content.  WordPress.com is a private company owned by Automattic that hosts the largest multisite in the world. This is arguably the best place to start blogging if you have never touched WordPress before. <a href=\"https:\/\/wordpress.com\/\">https:\/\/wordpress.com\/<\/a><\/span><\/span><\/span> platform. As we\u2019ve been granted permission to use this for the Openverse frontend and <span tabindex='0' class='glossary-item-container'>API<span class='glossary-item-hidden-content'><span class='glossary-item-header'>API<\/span> <span class='glossary-item-description'>An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.<\/span><\/span><\/span>, other instances of the Openverse API, should you choose to host one, would need to connect to a different endpoint to comply with Photon\u2019s <a href=\"https:\/\/wordpress.com\/tos\/\">Terms of Service<\/a>. The Openverse API is <a href=\"https:\/\/github.com\/WordPress\/openverse-api\/blob\/d0e2e5ebba6b3648f54818d1f8de718abf715824\/api\/catalog\/settings.py#L215\">easily configurable<\/a> to switch to a different thumbnail proxy endpoint.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please let us know if you encounter any issues with thumbnails on <span tabindex='0' class='glossary-item-container'>wordpress.org<span class='glossary-item-hidden-content'><span class='glossary-item-header'>WordPress.org<\/span> <span class='glossary-item-description'>The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization.  <a href=\"https:\/\/wordpress.org\/\">https:\/\/wordpress.org\/<\/a><\/span><\/span><\/span>\/openverse or in our API responses. Any feedback or concerns can be shared as comments on this post or as a <a href=\"https:\/\/github.com\/WordPress\/openverse\/issues\/new\/choose\">GitHub issue<\/a>. Thank you!<\/p>\n<nav class='o2-post-footer-actions'><ul class='o2-post-footer-action-row'><li class='o2-post-footer-action'><a href=\"https:\/\/login.wordpress.org\/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fopenverse%2F2023%2F01%2F14%2Fopenverse-switches-to-photon-for-thumbnail-generation%2F%23respond&#038;locale=en_US\" title=\"Login to Reply\"  class=\"genericon  genericon-reply\"  data-action=\"login-to-reply\"  data-actionstate=\"default\" >Login to Reply<\/a><\/li><\/ul><div class='o2-post-footer-action-likes'><\/div><ul class='o2-post-footer-action-row'><\/ul><\/nav>","protected":false},"excerpt":{"rendered":"<p>OpenverseOpenverse Openverse\u00a0is a search engine for openly-licensed media, including images and audio.\u00a0Find Openverse on GitHub and at https:\/\/openverse.org. has moved from a self-hosted Imaginary instance for thumbnail generation to using Photon. Photon is a fast and flexible open-source image service with powerful tools for cropping, resizing, and filtering images. The hosted instance of Photon we\u2019re [&hellip;]<\/p>\n","protected":false},"author":18630747,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-899","post","type-post","status-publish","format-standard","hentry","category-uncategorized","author-zackkrida"],"revision_note":"","jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/users\/18630747"}],"replies":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":2,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"predecessor-version":[{"id":901,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/posts\/899\/revisions\/901"}],"wp:attachment":[{"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/make.wordpress.org\/openverse\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}