Placeholder doesn’t resize?
-
In grid-mode I’ve set ‘thumbnail size’ to hard:150×150.
The featured images with the posts are shown 150×150.
The placeholder image is shown 600×450.Where/how can I have this one resize with the settings?
I think it is
if ( ! empty( $thumb_id ) ) { $image_sizes = isset( $post_thumb_setting['pcp_thumb_sizes'] ) ? $post_thumb_setting['pcp_thumb_sizes'] : ''; $image_src = wp_get_attachment_image_src( $thumb_id, $image_sizes ); $image = $image_src[0]; $image_width = $image_src[1]; $image_height = $image_src[2]; } elseif ( ! empty( $placeholder_img ) ) { $image = $placeholder_img; $image_width = 600; $image_height = 450; }
in wp-content/plugins/post-carousel/class-post-functions.php .
But I think that file will be overwritten by updates.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Placeholder doesn’t resize?’ is closed to new replies.