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 have recently imported an image gallery to a clean WP install as I am deploying the site to a live domain. I have imported the posts but the images use the medium size for attachements. I would like to get these all to revert to the settings I had set up in the development install.

Does anyone have a idea on how to change the size on already imported image attachements?

Thanks in advance,


share|improve this question
up vote 3 down vote accepted

You can use this plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/.

share|improve this answer

take a look on this example, with cropping thumbnails using the native "wp_get_attachment_image"... here goes an example of a image gallery, with cropped thumbnails


Best Regards

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.