Code Monkey home page Code Monkey logo

image-override's Introduction

=== Image Override ===
Contributors: billerickson
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K9K2YFSJAMLKE
Tags: image, thumbnail, featured, 
Requires at least: 3.0
Tested up to: 3.4.1
Stable tag: 1.1

Allows you to override WordPress' auto generated thumbnails. 

== Description ==

When you upload an image, WordPress will automatically scale/crop it to many different sizes. If you're not happy with the auto-crops, use this plugin to upload an alternative image. 

If you have images showing up in your theme already, there's nothing you need to do after activating this plugin. All WordPress functions that provide the thumbnail should now automatically work with your override image.

This plugin will add a metabox to every post type and allow you to modify every image size (built-in and custom ones added using add_image_size). You can use two filters to change these (image_override_post_types and image_override_sizes). For examples, see the documentation.

[Documentation](https://github.com/billerickson/Image-Override/wiki) | [Support Forum](https://github.com/billerickson/Image-Override/issues)

== Installation ==

1. Upload the `image-override` folder to your `/wp-content/plugins/` directory

2. Activate the "Image Override" plugin in your WordPress administration interface

3. Create (or edit) a page or a post with a featured image.

4. Down below, in the Image Override metabox, upload an alternative image for one of the sizes, and save the post.

5. Any function you're currently using to display the image (ex: the_post_thumbnail( 'medium' ) ) will now display the new image if the override is applied to that size.

== Changelog ==

= 1.1 = 
* Add localization

= 1.0 = 
* Initial release

image-override's People

Contributors

billerickson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.