WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the Options Framework Theme from devinsays, but am having a "small" problem with the Image Upload functionality. Basically, I need to disable resizing on a specific upload-field, but keep it on all others.

I do realize that this functionality is not specifically dependent on this framework, but I haven't been able to find any resource on how to achieve this on a case by case basis for specific Theme Options, so I'm hoping someone here could help.

Any input would be appreciated!

share|improve this question
up vote 1 down vote accepted

WordPress will always create the additional images for "thumbnail", "medium" and "large" sizes. The options panel doesn't add an additional size- it just resizes the one you've selected using CSS.

If you want to override that CSS you can hook in an additional stylesheet that will override the id on that option.

share|improve this answer
I have already gotten rid of the default sizes, and replaced them with the necessary ones. The problem, however, is that one specific upload field needs to not be handled by wp_handle_upload - but just upload the file and not resize it - as it should retain its original size. So it's not really a CSS problem at this level, but finding a way to override the default upload-system. – OleVik Jan 14 '12 at 20:02
wordpress , if not asked by the theme functions, will always keep also the original size. – krembo99 Jan 17 '12 at 5:59

I don't believe there's a way to do this "per upload field", but if you use a plugin like Dynamic Image Resizer they are only generated (resized/resampled) when they are called on the front-end. Thanks!

share|improve this answer

Your Answer


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.