Hi raizaduran.
I want to make the former thumbnails as the latter.
Do you mean you want to put the city name on top of the image?
No bdbrown
I want the thumbnail images of blog content look as the city thumbnail images, the bigger ones I mean.
The current blog thumbnails (on home page) look so weird unlike the city images which are bigger and more clear.
You could force it by using this CSS:
.netsposts-content img {
width: 100%;
max-height: 150px;
}
But then you’re stretching a smaller thumbnail so it may lose some of its quality. Other than that I think you’d need to figure out why the plugin is using the 150×150 thumbnail size.
There is a file ‘network-posts-extended.php’ where I can see the configuration
where it says
extract(shortcode_atts(array(
'size' => 'thumbnail',
'image_class' => 'post-thumbnail',
previously it was more horrible so I changed it to this:
'size' => 'thumb-medium',
'image_class' => 'attachment-thumb-medium',
and then there is a code
function get_image_sizes() {
global $_wp_additional_image_sizes;
$sizes = array();
foreach ( get_intermediate_image_sizes() as $_size ) {
if ( in_array( $_size, array('thumbnail', 'medium', 'medium_large', 'large') ) ) {
I used these sizes to the above section, but did nothing.
What you think? what can be done at this point?
If the plugin isn’t generating its own image thumbnails then the only two sizes it will find in that array are ‘thumbnail’, which is the default WP size 150×150, and ‘medium’ which is the default WP size 300×300. Somehow it appears to be using the first one it finds which is 150×150.
I raised this question to the plugin support forum as well, but couldn’t find any appropriate solution of it
Since you’re trying to modify the plugin code that’s really the only place I can suggest for you to request help. When I checked your post there it seems like the plugin author was responsive to your request and is working on an update.
I guess then the best solution for the moment is to wait for the update by the plugin author 🙂
I thought if can find a crack using css level changes 🙂
Thank you bdbrown
You’re welcome; hope the plugin author is able to help solve your issue.