{"id":8559,"date":"2010-04-07T02:58:56","date_gmt":"2010-04-07T02:58:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/relative-image-urls\/"},"modified":"2014-09-04T22:21:47","modified_gmt":"2014-09-04T22:21:47","slug":"relative-image-urls","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/relative-image-urls\/","author":8547781,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"2.0","tested":"4.0.38","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Relative Image URLs","header_author":"Scott Werner","header_description":"","assets_banners_color":"d2cdcc","last_updated":"2014-09-04 22:21:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/scottwernerdesign.com\/plugins","header_plugin_uri":"http:\/\/scottwernerdesign.com\/plugins\/relative-image-urls","header_author_uri":"http:\/\/scottwernerdesign.com","rating":4.2,"author_block_rating":0,"active_installs":1000,"downloads":23467,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.0":"<ul>\n<li>Fixed issue that caused plugin installation to fail.<\/li>\n<li>Compatible up to WordPress version 3.5.1<\/li>\n<\/ul>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"705712","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573769","resolution":"1","location":"plugin"}},"screenshots":{"1":"Shows the difference between absolute and relative image URLs in the WordPress post editor."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[133,163,537,1429,538],"plugin_category":[50],"plugin_contributors":[80466,80183],"plugin_business_model":[],"class_list":["post-8559","plugin","type-plugin","status-publish","hentry","plugin_tags-image","plugin_tags-images","plugin_tags-link","plugin_tags-relative","plugin_tags-url","plugin_category-media","plugin_contributors-bluelayermedia","plugin_contributors-scottwerner","plugin_committers-scottwerner"],"banners":{"banner":"https:\/\/ps.w.org\/relative-image-urls\/assets\/banner-772x250.jpg?rev=705712","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/relative-image-urls_d2cdcc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/relative-image-urls\/trunk\/screenshot-1.png?rev=1573769","caption":"Shows the difference between absolute and relative image URLs in the WordPress post editor."}],"raw_content":"<!--section=description-->\n<p>When inserting an image into a post, Wordpress uses absolute URLs to the files. This plugin overrides that functionality and forces it to use relative URLs.<\/p>\n\n<p><strong>For example:<\/strong><\/p>\n\n<p><em>Wordpress Default:<\/em>\nhttp:\/\/www.example.com\/wp-content\/uploads\/2013\/04\/example.jpg<\/p>\n\n<p><em>Plugin Override:<\/em>\n\/wp-content\/uploads\/2013\/04\/example.jpg<\/p>\n\n<p>This is particularly useful if you plan on switching domains ever as well as reducing HTTP requests.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the 'No Image Link' folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Do I have to set any options?<\/dt>\n<dd><p>Nope. It's ready to go right out of the box.<\/p><\/dd>\n<dt>Why would I want relative image URLs?<\/dt>\n<dd><p>A few reasons:<\/p>\n\n<ul>\n<li>Makes it easier to move your site if you ever want to switch domains.<\/li>\n<li>If you have an install as a development\/testing version of your site that you migrate frequently.<\/li>\n<li>Reduces HTTP requests, which will speed up page load time.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Fixed issue with an invalid header and directory issue which caused the plugin to fail install<\/li>\n<li>Updated WordPress version compatibility to 3.5.1<\/li>\n<li>Added a screenshot<\/li>\n<li>Added a FAQ<\/li>\n<li>Updated the short description to actually be short<\/li>\n<li>Added assets and plugin banner<\/li>\n<li>New contributor to update the plugin after it was abandoned 3 years ago<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>This is the first version.<\/li>\n<\/ul>","raw_excerpt":"Creates relative URLs for images when inserting into posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8559"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scottwerner"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8559"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8559"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8559"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8559"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8559"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}