{"id":1935,"date":"2007-08-14T14:22:38","date_gmt":"2007-08-14T14:22:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/image-scaler\/"},"modified":"2007-10-21T00:23:23","modified_gmt":"2007-10-21T00:23:23","slug":"image-scaler","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/image-scaler\/","author":167530,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"2.3","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Image Scaler","header_author":"Paul Butler","header_description":"","assets_banners_color":"","last_updated":"2007-10-21 00:23:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.paulbutler.org\/","header_author_uri":"http:\/\/www.paulbutler.org\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":6410,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[133,163],"plugin_category":[50],"plugin_contributors":[88520],"plugin_business_model":[],"class_list":["post-1935","plugin","type-plugin","status-closed","hentry","plugin_tags-image","plugin_tags-images","plugin_category-media","plugin_contributors-paulbutler","plugin_committers-paulbutler"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/image-scaler.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>ImageScaler resamples image files that have been resized in the post editor.<\/p>\n\n<p>When images are resized in the WordPress post editor, the images themselves stay the same and the browser \nis instructed to resize the images after downloading them. This wastes bandwidth, and results in ugly\nlooking resized images. To eliminate this problem, the ImageScaler plugin checks for the image sizes in\neach post and resizes the images if required. The original image is not modified, so it can still be\nused in other posts at full size.<\/p>\n\n<p>By default, an extra attribute is added to some of the image tags in each post. The attribute is non-standard,\nso it may cause (x)html validation to fail. If you require valid (x)html, the plugin has an option that\nstrips the non-standard output from the post before it is sent to the browser.<\/p>\n\n<p>This is the first version of ImageScaler. Please contact me at <code>paulgb at gmail dot com<\/code> if you find a bug\nor have unexpected results.<\/p>\n\n<!--section=installation-->\n<p>This plugin requires gd to modify the image files. Also, PHP must have write access to the wp-content\/\ndirectory. If you prefer, you can create the wp-content\/imagescaler\/ directory and give PHP write access\nto that instead.<\/p>\n\n<p>As long as you meet the requirements, installation is easy. Just upload <code>imagescaler.php<\/code> to the \n    \/wp-content\/plugins\/ directory, and activate it through the Plugins tab in WordPress.<\/p>\n\n<p>Once installed, every time a new post is created or any post is updated, the plugin will check all the\nimages in it and see if they need to be resized. Posts that were written before the plugin is insatalled\nwill not be changed unless they are updated.<\/p>\n\n<p>If you require valid html, go to the options tab in the admin panel, and then go to the ImageScaler tab.\nCheck the box that says \"Force strict xhtml\" and click \"Update Options\".<\/p>\n\n<p>If you decide to uninstall ImageScaler, the resized images (stored in \/wp-content\/imagescaler\/) will\nstill be used, but images in new posts will not be resized.<\/p>\n\n<!--section=changelog-->\n<p>1.0 - October 4, 2007\n(Big thanks to David Karlsson for writing this version)\n- Added maximum height and width\n- Added check for GD<\/p>\n\n<p>1.1 - October 20, 2007\n- Now works on remotly hosted images (mirrors remote images locally, even if they are not resized)\n- Now works if the WordPress blug URL differs from the WordPress home directory (thanks Dominique)\n- Tested with WordPress 2.3\n- Aspect ratio is now always preserved, not just when a maximum is reached<\/p>","raw_excerpt":"Resamples images after they are resized in the post editor. This makes them look better and download faster.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1935","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=1935"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/paulbutler"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1935"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1935"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1935"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1935"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1935"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}