Blogger Widgets Blogger Widgets

1

sabica
salamat datang di blog percobaan saya ini, terima kasih atas kujungan anda!

Sabtu, 14 Januari 2012

perbesar gamar di posting


trick dahsyat pembesaran gambar


 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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgVnsoYkkFx-OowbLSflyiTp-e-biXP7nXAM2yOZBZ40V64tXz9tJHDTGWsJzDtKA_UfcCSjFA-aXin7AnxjlEn7FwqDBT2VwY_4_EJuCUAjaSPt6DHP2dPOE1Z3u6pCB057ZmADnDWdm/s1600-h/megan+fox.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 280px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgVnsoYkkFx-OowbLSflyiTp-e-biXP7nXAM2yOZBZ40V64tXz9tJHDTGWsJzDtKA_UfcCSjFA-aXin7AnxjlEn7FwqDBT2VwY_4_EJuCUAjaSPt6DHP2dPOE1Z3u6pCB057ZmADnDWdm/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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgVnsoYkkFx-OowbLSflyiTp-e-biXP7nXAM2yOZBZ40V64tXz9tJHDTGWsJzDtKA_UfcCSjFA-aXin7AnxjlEn7FwqDBT2VwY_4_EJuCUAjaSPt6DHP2dPOE1Z3u6pCB057ZmADnDWdm/s1600-h/megan+fox.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWgVnsoYkkFx-OowbLSflyiTp-e-biXP7nXAM2yOZBZ40V64tXz9tJHDTGWsJzDtKA_UfcCSjFA-aXin7AnxjlEn7FwqDBT2VwY_4_EJuCUAjaSPt6DHP2dPOE1Z3u6pCB057ZmADnDWdm/s800/megan+fox.jpg" alt="Normal Picture without the hack" id="BLOGGER_PHOTO_ID_5350218059319919970" border="0" /></a>


Tidak ada komentar:

Posting Komentar

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin

cari

 
  • Blogroll

    Connect With Us

  • Consectetuer

    Recomended

  • terbanyak dilihat

    Instructions

  • Comments