Senin, 21 Oktober 2013

cara Membuat Gallery Foto pada Blogger

karena kodenya panjang sekali maka langsung saja kita mulai membuat gallery foto pada blogger.  Dalam hal ini kita mempergunakan 16 buah foto.
Cara pembuatan :

  1. upload foto ke hosting (picasa, atau photobucket, atau yang lainnya)
  2. dapatkan url foto yang telah diupload
  3. bikin postingan dalam mode HTML (bukan Compose)
  4. masukkan kode di bawah ini pada postingan
  5. publish dan lihat hasilnya

membuat-galery-foto-blogspot

<div class="snap_preview">
<div>
<span style="color: #0066ff;font-size: medium;">Seribu Wajah Gayus</span></div>
<style type="text/css">.gallery{margin:auto;}.gallery-item{float:left; width:25%;} .gallery-caption { margin-left: 0; }</style>
<div class="gallery snap_nopreview">

<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pL7N0aihMcREiGQ61Fs-7J6CCIwQ-ZGsfrFykvwKdMo5zYNKsnefzsXMmmlLhyphenhypheny6MylV6PcIZjGpoBMW_i9DoWo6GKIbyAfRxJFFM0P2QtHSLnEiT8kmUwwsy3ccILssYmM7GNrX9VU/s320/atronout.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_pyd8QVCzfcmGtQUbIoTEGEc9g1y6p-ByjBdjtlrFJODtXI03BWYb95-4bzprGBHujgi42AL0hw5Xs31wkFf2igP9_NNu5hf4AAX-Tqn1ikM9yEWEiGhK2wUxlp_7LUzsCXlky7gGKW0/s320/bieeen.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjytytksqBxWuj0AuUDp_MlPNJ5QsibdjP3ntn054RL9LpCnmBcpk7pSDUACHz44gEOptfJcrzV_lfMdUPYP2xlAT5P2P2Q2I2VoNWlGkRr3xkjfZpVBaZrkMBMtEUVc24rMiN4CG-lxIs/s320/blankon.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9yFi0QjvojbQnMKWVZUudqcx-QQB9l0MQXiTQ6bTpxD229qcTrrxGwk0NoRGRQT3t7y-UZvaWNfKAsWZdqgkf021MHq4rlOI9jz-Gi3raOty1_8CEZNA34-WAUmCLQgJD4COKibrUPFk/s320/boxing.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH7BMIfivY4ooO_4BQOGh52aOeVPyIDS2OsEKT0VkWJY8wT_KjgEtmX5NlD52307WX9NgVNjS2z_8axRD9gQu4dAJNrIDFEqFCwTIhcLvzWYG2Rz18sgKsLABaFUycjCwrlMZius_MKE8/s320/duits.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6YyBLZxRj_fQjORTZ7ga5s7yz_ElSqLWm_IHQc4BFZj1bph44SPGOOpXBCY4GFI2yHaqyAWv0R1gHS9_J85zKF4UZD1TmLvml05PlZ5AG4OHkrR6VjKaF9A_Opb97ogswIf1xihMt9H4/s320/goyang.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOxmtJqNV32zL3eo-pwwbb-kAvFvxmFQ8mPB4FfuYjXJO5tM5cVpZO-5SF80wYLn8aPl2mBdMdpsF6JniiuZBA3MpV4RG2lMHiFoIXI5glc3lO6YspncJSy2DlfmcZ_Jis5eqciVCRDxI/s320/hormat.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi34U0p_xX9dkYu0kgSBjNXCkzQG7SY13xIijsvosIaadsLTJ85Zeg32YLBtfS4Iy1hM3Bbhaxw2TSxveKdCspU8XTiUPdY93LrHX3jD7OqRkjIFhX7au9tHPowRaO55VDsoa7KAXMtZvY/s320/jendr.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsdn5M6QgDbtUGkP6Kbpzom6PzsAUi4RAvHiCrSEenwT4yoFjIgv6WmdKyXuaBKEokpeZ2nRUQZsxCo55syV5cqrPQFYgFbvbQjLt_7jBDhaUTPlKmjVXzPzcj_FqD-9dObYXROgmITO4/s320/koran.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4ezNGPMNqFI6tJRejX6OIBsmi7qcZpMddPW8M3EvtLff0PrOTg2zDBxoOu7EBUiT2jyRyjqW6ECjfXATvU6Ef9d49mRnyj7snZxsKhvAhO5FSjDxINEupalsoEgJGFUMkS1Ik7SPWsUA/s320/samar.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHyrHi6KLYnvHh3iYzkyCIn3rFCJjSqXx686ORsjiFvtQkVg49B4b3SCgBTWo1QhOEL5iTNO-3oekKRx_llhFJge9qEWdnEI50Aa8CHByiP0NNuJwna7nlk_XxFqMAuLCcnh8f0LROMy8/s320/seribu.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFLjOYhunAYImLzJLkrQZUgnwwMQYP9FO3MbydSAUAK8nAAFmQ3aXzFxTPjQ8b7cNUMG-hedp7AJcHQPlNYw3kVbeNEG1qyyZ82P_PY3EonOzFWagvoGaZsXHHQdKtN3KHNQupj8XVsCQ/s320/silat.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFa4djzRWrKXA6r4C0pEONRmphsmAdG9L7Nsu-c4GsosExpc-DcAakoWoqYUxe_-o6Furxn0jGCKF7me9-5vyyopQXOxVKINa5SZngUevHaiNX4W9_b95aj0dcF4LGyEcBjVWymH_yAJ8/s320/wig1.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglY9IQTdmuwokiguv1yMVS49mjPjxDA8yekd3SW_1RqwOUMpbjtaJqqA5lb17sOoyNK98Uj44EnU9Xo-fkm_hWZVcm_lYOJnnFYo2x8WRBSE0fnXqlS821a_Ul0pKEggxfvRhdNzF2v3o/s320/tenis.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidN3dTKNDdr7D45pqg1hbO4ha_JmGG98xGtusouajPYdL9r1hWm05luJZJg8ca_RZou4sXTPtCXYc6SS3hscw3RfJfKfPo2MUC6bpIdiMPhP8W7tdH3Fhf7vp63P2yWFN9N1rpvpYFsg0/s320/santai.jpg" width="200" /></a>
</dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon"><a href=" http://brugkembar.blogspot.com/2011/01/cara-membuat-gallery-foto-pada-blogger.html " target="_blank">
<img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNSZfAA8xq-vB0UvqxgD3qWACXBRVBQd3373DMF_-XRye1lAsJPcEO4CX8tQRSfqShjIyJRCbEkZClP7IWc0YE0UxaaxLq6ci6eJ2nl_jTm3QMiCan1v4Okc4tLqdkMPMLE1Cs_mCDrQo/s320/kacamata.jpg" width="200" /></a>
</dt>
</dl>
</div>
</div>
Catatan Penting :
  1. Kode yang berwarna merah adalah url foto yang didapatkan dari hosting setelah foto diupload.
  2. Ukuran foto bisa diganti dengan merubah angka 150 dan 200.
  3. Angka 25% adalah prosentase untuk membuat foto berjajar menyamping 4 kolom (rumusnya: 100% dibagi 4 = 25%)
  4. Bila ingin menambah jumlah foto tinggal copy saja mulai kode <dl class="gallery-item"> sampai dengan kode </dl> demikian pula jika ingin menguranginya.
  5. Dalam menuliskan kode harus benar-benar rapat, jangan menggunakan enter, bila masih terdapat ruang kosong maka fungsikanlah backspace untuk menghapusnya sehingga kode menjadi rapat.
  6. Kalau semuanya sudah dilakukan dengan benar, hasilnya bisa dilihat  disini.

ilmu komputer

About ilmu komputer

Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

Subscribe to this Blog via Email :