Today I'm going to give you a small tip regarding blogging. this is a very simple step but it makes a huge difference in your blog and it can save massive amount of time in your life. Because if you try to do this manually this can take years to do this task. If you have a blog with images and you are trying to resize all the images easily you have come to correct place. I saw many people asking how to do this and some are doing this manually by taking so many hours and days.
sometimes you might upload larger images than your post width in that case readers can't see the whole image. usually most pictures are having higher pixel rates so this is an essential step for many of the bloggers. Blogger it self has a image resize option but it can be helpful only in certain conditions. if you have more images you have to follow these steps. The best advantage of this method is, this conversion only resize your images under view mode. so this doesn't reduce the quality of the images.
I will guide you as easy as possible to do this. so I will give you few steps to follow,
Step 1- Go to Blogger >> Your site >> Template >> Edit HTML.
Blogger HTML editor has been updated recently and it looks cool too.
Step 2- Click anywhere in the code and press Ctrl+F to search in side the HTML code. search for ]]></b:skin> tag and just above (before) the tag.
Step 3- Then paste the following CSS code.
.post-body img {
width: 500px!important;
height: auto!important; }
You can change the values of width and height as you wish. for that you can check the width of your post and give a value little less than the width. or else you can simply
paste the following code, this will work better if you don't know the width of your post.
.post-body img {
max-width: 98% !important
}
Now you are almost done. if you want you can add a frame to all of your images which will add additional value to the picture. for that you can add the following code with above code.
border: 1px solid #d2d2d2
Step 4- Save the template and you are done. some people experiencing blogger doesn't save the changes after edit, but it's not so you can edit and save. it save added codes anyway.
If you have any problem feel free to comment below i will help you my best.
sometimes you might upload larger images than your post width in that case readers can't see the whole image. usually most pictures are having higher pixel rates so this is an essential step for many of the bloggers. Blogger it self has a image resize option but it can be helpful only in certain conditions. if you have more images you have to follow these steps. The best advantage of this method is, this conversion only resize your images under view mode. so this doesn't reduce the quality of the images.
I will guide you as easy as possible to do this. so I will give you few steps to follow,
Step 1- Go to Blogger >> Your site >> Template >> Edit HTML.
Blogger HTML editor has been updated recently and it looks cool too.
Step 2- Click anywhere in the code and press Ctrl+F to search in side the HTML code. search for ]]></b:skin> tag and just above (before) the tag.
Step 3- Then paste the following CSS code.
.post-body img {
width: 500px!important;
height: auto!important; }
You can change the values of width and height as you wish. for that you can check the width of your post and give a value little less than the width. or else you can simply
paste the following code, this will work better if you don't know the width of your post.
.post-body img {
max-width: 98% !important
}
Now you are almost done. if you want you can add a frame to all of your images which will add additional value to the picture. for that you can add the following code with above code.
border: 1px solid #d2d2d2
Step 4- Save the template and you are done. some people experiencing blogger doesn't save the changes after edit, but it's not so you can edit and save. it save added codes anyway.
If you have any problem feel free to comment below i will help you my best.
No comments:
Post a Comment