Hello,
I am having the same issue. I am using wordpress 3.5. The image is being outputted for some images but not all.
I have two images defined at the same size:
add_image_size(‘front-thumb’, 231, 158, true);
add_image_size(‘front-thumb-black’, 231, 158, true);
In the plugin settings I have font-thumb-black set to a slug of bw
I checked the upload folder and both images with the correct size are there, one with the slug -bw appendeded to it with the correct color filtering.
When I write out both images to the page using wp_get_attachment_image:
$output .= wp_get_attachment_image( $attachments[ $id ]->ID, ‘front-thumb’, 0, array( ‘class’ => ‘normal’, ‘data-id’ => $attachments[ $id ]->ID));
$output .= wp_get_attachment_image( $attachments[ $id ]->ID, ‘front-thumb-black’, 0, array( ‘class’ => ‘bw’, ‘data-id’ => $attachments[ $id ]->ID));
I am looping through images in a gallery and displaying these two images a few images have the correct URL with -bw appended, but the majority of them have the same url.
Thanks!
**Update
After further investigation the only JPEG images are being converted to black and white. PNG images are being ignored