wordpress tutorial, Here in this article, How to set max image size in wordpress post for showing. We given simple CSS code which can be used in your style.css file.
Simply paste the following in your style.css file. This code will work with latest wordpress versions.
set max image size in wordpress post for showing
.postarea img {
max-width: 500px;
height: auto;
}
.post img {
max-width: 500px; /* Adjust this value according to your content area size*/
height: auto;
}
.size-full {
max-width: 500px;
height: auto;
}
THANK YOU for this post. I searched for a couple of days and tried several things that didn’t work, but FINALLY came to your post and it worked like magic! Thanks!
You should really consider adding Akismet or some other spam filter to your comments.