Thumbnails are wrong size (how can I get rid of the classes?)
-
So this is my website: https://vechtscene.nl/
And I recently changed the code so that I don’t have to hardcode and upload all images in, rather, they take it from the post’s featured image.
Only this has added the class:
"wp-post-image ngg-image-97"
wp-post-image comes from:
the_post_thumbnail('thumbnail');
ngg-image-97 comes from:
“nextgen gallery plugin”
For some reason this makes the thumbnails the wrong size (something like 100×80 instead of 160×160. How can I get rid of the class?
Alternatively, how can I change the css or wordpress setup so that it shows at 160×160?
ps. I’m not using any of the other presets. But adding
set_post_thumbnail_size( 160, 154 );
was unsucessful in changing anything, nor was changing it in settings/media in the admin.
- The topic ‘Thumbnails are wrong size (how can I get rid of the classes?)’ is closed to new replies.