Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've been working on a Wordpress theme (my first, actually) and the design includes a header image.

However, the header is extremely wide and thus is really small when adapted to a phone layout.

How would I allow for multiple crops of the same header image, so that I could have one wide crop for the desktop layout and one more squarish crop for the phone layout?

share|improve this question
    
The ad_image_size will give you a smaller image that links to a larger one, but I don't think that's what your asking for. I believe your wanting a "responsive design". Here is a very simple demo and short tutorial that helped me out quite a bit: verekia.com/initializr/responsive-template –  Jeremy Jared Feb 13 '12 at 1:45
    
@JeremyJared Yes, the design I'm building is indeed responsive. I'm asking how I can get a second crop setting. Whenever it asks for a crop it only asks once and (seemingly) randomly crops the second one. –  digitxp Feb 15 '12 at 3:10

1 Answer 1

The add_image_size can do that for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.