• AngelEyes

    (@clustervision)


    I have a website where i’ve defined several different image sizes with add_image_size

    I handed the theme over to the client and they’ve started uploading content, many images.. galleries, etc.

    for some reason, not all of the images are getting treated with the new image sizes.

    When i do wp_get_attachment_img_src($post->ID, ‘my-size’);

    and then use the image, it its frequently getting a very large image size that isnt the correct smaller size.

    IT IS sometimes working. Why would it not be working all the time?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Rachel Baker

    (@rachelbaker)

    When you add an image size, any image that was uploaded before you enabled that setting does not have the correct image size in the media library. If that sounds like it could be the source of your problem you can use a plugin like http://wordpress.org/extend/plugins/regenerate-thumbnails/ to add the missing image sizes.

    Thread Starter AngelEyes

    (@clustervision)

    thanks RachelBaker but thats not the problem. Like I said, I added all the image sizes and then handed the theme over to the client so I havent been adding image sizes since They’ve just been adding images, some have been getting formatted properly and some havent been.

    esmi

    (@esmi)

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    Thread Starter AngelEyes

    (@clustervision)

    hmm thats unfortunate. The website isn’t completely deployed yet. it is just being populated by the client and unfortunately cant be made public. Anyway, I’m thinking that maybe the images they tried to upload were TOO big, or had some weird encryption or something. I’m just going to have them scale them down and resave as jpeg… hopefully that will resolving things.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add_image_size not working on all images’ is closed to new replies.