This post explains how to post extra large images in blogger posts:-
This is one of the most wanted blogger hacks, which makes it possible to post big size pictures in blogger posts.
Normally, If you upload a large image to blogger(with large thumb size selected), it will automatically resize it and then post it as thumbnail . But, the image quality of the resized image is very poor. So, to make the image look more clean and sharper, this trick will come handy.
Normally Uploaded Image: (with large thumbnail selected)
Image after applying the hack:
So, lets learn how to do this..
1.First, calculate how much image size(large) you want to display ( normally, its just a bit less than your main body width). Suppose, take this blog as an example, the main body width is about 570px. So, the maximum width to post a large image is 570px. But, to make the image looks nice, we have to give some padding to it.so,choose the width which is a bit less than the post body width.. like 560px.
Now, Go to Layout » Edit html
Find this]]></b:skin>
Add this before that line:
img {
max-width: 560px;
width: expression(this.width > 560 ? 560: true);
}
Change the value in red depending on the previous step.
Note: Do check if you have the img{ tag already in your template. If its there, just add the additional couple of lines to it.
max-width: 560px;
width: expression(this.width > 560 ? 560: true);
Save the changes.
2. Now, while doing your posts, upload the images normally like you did previously. Once the image is uploaded, go to Edit html tab, and the image code will look something like this
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Toi-rh0Nm00/Sj_K-nCkxWI/AAAAAAAADbg/8QRq-hHP4xM/s1600-h/megan+fox.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 280px; height: 400px;" src="http://4.bp.blogspot.com/_Toi-rh0Nm00/Sj_K-nCkxWI/AAAAAAAADbg/8QRq-hHP4xM/s400/megan+fox.jpg" alt="Normal Picture without the hack" id="BLOGGER_PHOTO_ID_5350218059319919970" border="0" /></a>
All you have to do is Just remove that bolded text (width and height attributes) and replace s400 to s800.
So, the final code looks like this
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Toi-rh0Nm00/Sj_K-nCkxWI/AAAAAAAADbg/8QRq-hHP4xM/s1600-h/megan+fox.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_Toi-rh0Nm00/Sj_K-nCkxWI/AAAAAAAADbg/8QRq-hHP4xM/s800/megan+fox.jpg" alt="Normal Picture without the hack" id="BLOGGER_PHOTO_ID_5350218059319919970" border="0" /></a>
Done! Now, your uploaded image will look big in the post.








92 comments:
It looks good. I am using a similar method. I post images up to 860 px wide on post page. The downside is it surely takes longer to load the blogsite. At one time I was posting up to 20 such images. I have cut it down to 5.
I hope this will be useful for all those who are working on blogs like photography,celebrities and stuff related to images . Once again great post from you kranthi - keep going!
it's really COOL!!
Thank you so MUCH!!!^^
how i will add comment form in the blog
Hi,
You have a very nice site with great information.
for more check out................
A.S.
www.allyouneedzone.blogspot.com
Your are the absolute bomb. Your teaching is just PERFECT. I am dumb as a rock when it comes to this stuff but the way you instruct I can do nothing but have success!! Because of you I just placed my first meta tags with no errors. Although the analyzer says it's poor (immo work on that). Thanks sooooooo much
Thanks Chanel "CJ" Johnson for your wonderful comment! :)
Hey may be another topic,
But is it that your page rank decreased to 3 ??
i even checked from prchecker and it too shows 3.
hi, dear u r great!! this post try for my blog but the image is not clear view plz tell me how it clear view in my blog.
thanx for sharing.
Hey, great post, really well written. You should blog more about this.
Thanks for this nice tips. I was searching this kind of tips now i got it . thanks alot
very very very beautifullll thank you very much good very beautiful
Great!!!
http://forexconfident.blogspot.com
http://forexconfident.blogspot.com
Thanks! This was a very useful and much needed post.
Thanks for the nice tip.
Cool :)
http://alexiel-blog.blogspot.com
nice one mak :)
http://earners-network.blogspot.com
...little problem,
it also shrunk the image gadget under my header
any idea how I can avoid this?
Nice tip and thanks for sharing with us.
Great tip, thanks
hey there, i've downloaded a custom blog template and can't seem to find
img
max-width
..any ideas where i could change it with a custom? thanks.
Thx for the tip.
Very useful, thanks. But actually I wonder how to make the photos resized automatically to fit the page width,and I use imageshack. Is there a solution? Thanks in advance!!!
I'm having trouble - showing this text in my header:
img {
max-width: 560px;
width: expression(this.width > 560 ? 560: true);
}
Anyway I can get rid of this? Thanks!
@ Mandy,
You can use the same hack for the imageshack aswell.. Just edit the template as I said in this post.. and add the images normally like you do... it will be automatically resized.
This is great the only problem is that it interferes with the sizing of my header image at the top of my blog as well... how do I fix that? Please help! Thanks!
i'm not sure what happened... i am so excited to try this out, but i did it twice and i still have tiny images. help!! thank you so much!
Ok, I am surprised! Thank you very much for your brilliant tutorial, now I managed to get bigger pics on my blog PLUS I feel more confident in my self in this universe of nerds (in its most most positive meaning. So thank you for making me feel succesfull in this area!
@Kranthi
It works,partially.
A.If I upload a picture from my computer to picasa,I set the value of 460 pixel,then replace s400 to s800,or I don't replace it,the final pic is always in 400pixel.
B.If I upload a pic from Imageshack,there is no "s400" in the address,just resize the width but not the length.
I'm totally confused about this,please tell me why?
wow it cool dude...i just apply it into my blog for my picture...it work great..
thanks
rectro.blogspot.com
Absolutely wonderful which I was looking for a long time though I have to change s400 value every time I upload a new image.
Still, very useful. Thanks!
nice man... tq for hack...
http://man-sur.blogspot.com
hey i got a question thats a bit off topice but might be of interest to everybody. is there a hack to get to the "read more" Pager not by clicking the read more link but by clicking on the teaser-picture?
becaus normally if you click the picture it pops up in its original size...
please let us know
thanx!
I did every step and the picture is still small! Help!
Its not working, please explain it in detail
Really nice posts, in your blogs. I am trying to give some common things useful for common people, in my blog.
very helpful..... thanks
http://pradeepfernando.blogspot.com
nice tut. i will this myself... good luck
good
Wow, this is so cool!!! This was one of the reasons why I haven't been blogging on my other blogspot blogs --> coz i'm scared to edit the HTML and and do "hacks".
Thanks for sharing this. And I'm bookmarking your site for future tutorials.
great post kranti.. thanks for sharing this..
KUDOS!!!! Thank YOU!!! What does the S800 mean??
Nice.... thanks for the sharing....and keep a good work
how about on session width in ur explanation (max-width: 560px;), i guess change with 100%(max-width: 100%;) i think that's more simple. Just give a suggestion. nice to meet u
Hi sir i m facing problem to edit this
i dd nt understand whats the problem is there any prob with ma html?
my site is
http://wwwskpwebcom.blogspot.com/
is there any one can help me?
thanks really!! GREAT post~~!!
awesome for newbie like me...
i've used this trick... thanks
Ok- I have done it this way for months, and yesterday it stopped working. Did Blogger block us from doing it this way?
Please help!
Nope, Blogger did'nt block it at all, it still works. Great stuff Kranthi, thanx loads for the tips and tricks and easy to follow and understand steps.
this is nice trick! I just had problem fixed!
http://aeropress-coffee.blogspot.com
Hi Sir
Thanks for make this post, Really helpful for me.
but when i upload picture it looks ads the width and height in the code and i have to remove that code every time. What should i do.
I'm very happy to hear this post with blogger blogspot tips was useful to you. I checked your blog, You have a beautiful blog.
Thank u so much for ur help!!!
Totally made my day by teaching me how to make my photos larger :)
High five!
Thanks for your help...
great post ,thanks
SOmething weird happened. My header became narrow but the rest of the pictures remained the same size? Why is this?
Worked great to make my photos larger, but for some reason, my header shrunk?! It is an image too, but I can't figure out how to resize it, without affecting the rest of the pictures. Any tips?
@ Kristin,
What's your blog url ?
good job, thanks
http://www.duyanhblog.com/ Music Lossless
very very use full
iam used in my blog http://telugulyricsongs.blogspot.com/
thanks
nice and very useful trick, look at my blog for this trick: www.sekary.blogspot.com, thanks very very much
i cant get this to work. Where exactly are you supposed to post the new code? Above or on the same "row" as the other code?
thank you so much!!!
I'm so glad there are smart people out there like you who can make html not quite so overwhelming for people like me!
I'm having the same issue as others with my header image shrinking down. Can I somehow make the max-width apply to images only in the main body?
@ Lindsay,
Sure.. Can you tell me your blog url..?
I tried doing this havk. When I preview the post the image is larger but when I go live onto the website the image is cut in half. what do i do
need help... why is it thet its not working in my blog?
Cool, Thanks
HELLO IT WORKED AND SHRUNK OUR HEADER TOO.... IS THERE ANY TO FIX THIS? THANKS!
wow...I never think to do that.
thanks, it is very useful for my online shop
what a nice post...really help me up
but i just use s576 instead of s800
that why i like it...we can change the size
happy new year 2010 to you and for all
peace...
just made a blog (NSFW: http://nsfwgallery.blogspot.com) and i just changed the s320 to s800 and POW life is golden! Didn't have to change my layout code one bit...
Tx for the hack!
Thank you very much for sharing information and wish you success
Nice post
seems to work fine for images, but my header image is shrunk. blog: www.theinklingnetwork.com
thanks!!
ah, i just read another commenter who points out that he skipped the step with the html img { and simply changed the individual html from 400 to 800 -- that works for me!
Any chance you can help me get my header back to normal size too?
btw...nevermind. thanks for the info!
Awesome! Thanks for sharing, now I can post full size photos!
Question:
Do I have to change all image's width to 800x600 everytime? How can I set the template so everytime I upload my images it's automatically 800x600 when it's uploaded?
My blog's header became narrow when I applied this code, but, in the posts, it's working perfectly...
What can I do to soluce my header's problem?
Thank you :)
http:dazuis.blogspot.com
@ Manuel ,
I don't see any hack applied in your blog.. Did you changed your blog template ?
@ kranthi
I have applied it, but when It affected my banner's width, I took it off...
Is there any solution of not narrowing my banner, or not?
@ Manuel,
Yes.. Instead of
img {
try
.post {
@ kranthi
It doesn't work :(
@ Manuel,
oops..sorry.. i was in hurry yesterday..
try this..
.post img {
[i] Note: there's a dot before post [/i]
@ kranthi,
It now works, but with a small problem: it resizes the width of the picture to what I want (462px) but the height of the image stays a lot above the height it should be...
Any solution?
hi Manuel...
after
max-width: 560px;
add this one..
height: auto;
save the changes.
Thanks a lot kranthi! :hail:
Thanks a lot..I manage to make my picture bigger..thanks to you!~ :)
Post a Comment