Linux 软件免费装
Banner图

New Nine Adaptive Images

开发者 New Nine
更新时间 2013年12月13日 22:27
PHP版本: 3.0 及以上
WordPress版本: 3.8
版权: GPL2
版权网址: 版权信息

标签

responsive images responsive design adaptive images

下载

详情介绍:

Built specifically for WordPress, the New Nine Adaptive Images plugin: Why? Because your site is being viewed on smaller, slower, low bandwidth devices. On those devices, your desktop-centric images load slowly, cause UI lag, and cost you and your visitors unnecessary bandwidth and money. The Adaptive Images Plugin fixes that. This plugin was built by New Nine Media & Advertising based on the work done by Matt Wilcox. Set Up is Easy Install the plugin and visit the 'Settings -> Media' section of your dashboard. You can leave the defaults in place or customize the options to match your breakpoints, desired image quality, etc. Then, copy the .htaccess information and paste it in your site's .htaccess file. You're done! Requirements To run the New Nine Adaptive Images plugin, your server needs: These are fairly standard on today's servers. If the plugin isn't working, odds are that you need a better web host. Built for WordPress Matt Wilcox built his Adaptive Images for any website. We built this plugin specifically for WordPress (and you!) Want to learn more? Visit the FAQ section.

安装:

Use the WordPress installer; or, download and unzip the files and put the folder n9m-adaptive-images into the /wp-content/plugins/ directory. Activate the plugin through the 'Plugins' menu in WordPress. Visit 'Settings -> Media' in your dashboard, copy the .htaccess code, and paste it into your .htaccess file. You can customize your breakpoints and more by visiting 'Settings -> Media' in your dashboard. You are now adaptive (and awesome)!

常见问题:

Help! It's not changing my images!

Are you sure? You won't see any change in the image url. The "change" happens behind the scene as the plugin loads the appropriately scaled image using the same URL. If you are looking for a different URL on smaller devices, don't - you won't see one. Of course, make sure it's set up properly too :)

Help! It's not creating the cached images!

Are you sure? You won't see different image sizes just by shrinking and expanding your browser. You need to visit the site from a phone or tablet (or something with a smaller screen) and then check to see that the smaller cached images are (or are not) being created.

What should my breakpoints be?

You can set them to whatever you want and have as many (or few) as you want; however, you probably want to set them to match your CSS breakpoints.

What if my user doesn't have JavaScript turned on?

Your original image in its original size is displayed, just as your site works now.

What images will be "adaptive"?

Any image you put in a page, post, or custom post type, and any image that is uploaded through your media uploader. Out of the box, any image that has been uploaded through your media uploader will become adaptive. If you know more advanced .htaccess directives, you can customize this further.

Are there any shortcodes or functions to deal with?

No. Just turn it on, update your .htaccess, and the plugin handles everything. You just add your images as you normally do. When they are accessed by a visitor, the plugin kicks in and handles the replacement, caching, etc.

How do I edit my .htaccess file?

You need to log into your server through your control panel's file manager or via FTP. In the directory where WordPress is installed, you should find a file called .htaccess. Open it, put in the directive we gave you under 'Settings -> Media', and save the file.

Where can I learn more about how this works?

Visit Adaptive Images website to understand the innerworkings of the code and browser interaction. You can also visit our WordPress tutorials to learn more.

Will this bloat or slow down my WordPress?

No. The plugin only makes a few small options entries in your database which means it won't bloat your installation. On your site, Adaptive Images includes a 140 byte JavaScript file in your header.

What happens to my images if I deactivate/uninstall Adaptive Images?

Nothing. They appear normally and your site functions and looks as it did before you used the plugin. If you uninstall the plugin, the options are removed from your database to keep your WordPress clean. No bloat here!