Karena kodenya panjang sekali maka langsung saja kita mulai membuat gallery foto pada blogger. Dalam hal ini kita mempergunakan 16 buah foto.
Cara pembuatan :
- upload foto ke hosting (picasa, atau photobucket, atau yang lainnya)
- dapatkan url foto yang telah diupload
- bikin postingan dalam mode HTML (bukan Compose)
- masukkan kode di bawah ini pada postingan
- publish dan lihat hasilnya
<div class="snap_preview">Catatan Penting :
<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/AVvXsEj5A1UXt-uBI71SfxNPfAW9DB6-smhq5GtGBuMfLv_HIjPCR_v6nTcYbJhg_NWCb8S8YKiyHenRBpqExNGAVchV0VWkRZO16YiiMzoj5OGM717Nah5rsk7PBcK54R1Pf5gYeT32-JoniVM/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/AVvXsEggtUOR83KBxGYxfYWHkdlWNrAJCRWeVp1sWQziFHTqoItNPu7IDEN5vUzmxyQOLOIziesZPI0uOUmFZwYiF6r1_kteQJP5z6z6uRWjTrWkmDV4Ikw8sIxHU9ifbor19iaoHSh_SMqrWlQ/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/AVvXsEgCyJnhaXoj5_M8EYnwqlq0PXJjGOvgLFyYSupP_vtB2Ogu8JNXg_RoniV2XZwQFtV6OTj9bNuBRLyBGSj1ztVSO1yPv0ucA0KzZcLs-rkE7fP2kBdPD8DMw4bE_-rEMH-ca0n66laA2vg/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/AVvXsEioCh4aJZ5jTbNdZU_sYr9cUjiFbKPV655dcth0W_i9Ma0g1E19WOFq9XwBSRpaCWfQRyMp3Mj4ZV3piAieXY97N31nOcr836NFLSk5MJ8CsaQ0PhHXA8R-6siqUEWvcobvQ8VYkTIWSCU/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/AVvXsEjFs5UJuHQ-idvZZhLmVLtwNeKlyNuQxobQnQf_LP7X0lXADNP2XSmtDLXSJ4kGqxCsdGdchuXTTKricH_XL5PF65llbc7gGNAhWUIXkQiMN92zSzQYpYYcCS_hOEpvw6ItCYD-athyphenhyphen62s/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/AVvXsEhqEot2UNhyye_Ama3v0-j93iUMzAeFWv4M_sJ8ITX5bZZDBgfNg8V79dCNULQOr4mjP5VVyUSpYYOytyoCGhkAkSlshu-cqqIVQnJXjAdrwF7mr1esmcbxUNET477BGVo3o-lEBFm6-Hs/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/AVvXsEg6jTe8-qaS0xCpj2YnUOeY9fR6nGVwfGBaNlm6wEAD4r4khxTDW2XNa9cOhuqYzxt4zfEpYuASCNq_nIxaAkUYQ2L346M7lhda6gqjeDeEOOmxa364m4cH_zD6nzgGlxblsf-rpCtkioo/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/AVvXsEisCNWN7uvHoFKfzyRhzaKd6oegsdwMO_HRO2DQoUCt6y8stvVw2ocP44Q87OSpkbnvfNjnds_OpEcjL7FebX4qDnl2J-HkoFcghq5LCss41xYGba6wVAz-fqU127Wql5GNtXQTWK9qFjQ/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/AVvXsEgG90BFQBPPDzIBYZhvzoTHc5wqOfpQBAgCY5i93vOoILAAY2UF6v8ZJlXOSVG4E3xud-Lw7-K45G6H6FUQqrH8BIYxnGwCodt78AkwqJpwY57EMsth-ELXCsY4ROK1caWUVlDBayXNPTc/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/AVvXsEjlsvXunUXqsqQz5gu4baZhVKc6_IchxCk2IWKBSAXmrXQ6DaAB4-vwAshuthL0PtlGg5URryUC4KATsNL1dKcUv6Q8bET1J6d60KL7W4N11TaR3ogruNTDvFcwSmUuiGxKCT4mKGXQlCM/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/AVvXsEjy9ScK3B-PELgxMb6gBJrjiqzPbXnFoWycAmY0W_necKmk4PAE0LfBgxxZcd4ZlrgnS_vLlConWANUWDgeV6se0V6AwthQT3Ob-w5zJlRYkYtDbyy3hcRoEi9fcU5xfqwdQ2V9YEttUqE/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/AVvXsEiXuP47Jf-fS8t_Ivzbsi2g_PiolibGgQJwvpaJHSPBJ84dehMywxE5AKQkoXsVkq3QZms9nrjLqp-VCanLfp1MxjMSZO-Vmz0bS7liPdbwrQwYhZkmfFac5Mg_Ud_LuTn0LrN71mlRcp4/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/AVvXsEiuTTOKgYg3QIaWsV6uebrySJdeBSJ_SPBApFNIi9tVUdbTjGndeIXvRRObw1tAniFU3eJ2sAeczJIZNyhEIaMILXZe9vAgxFq2e7seEjiNLxFH7ccLjzPuusIsj9gGb-3qH37kQ2LU7WQ/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/AVvXsEgP9fMJNKTC4pLQcV7No_TJbQafjlE-aBIopGaWLzg320cFXLvdT9Nk1Q9OIoPv9xv8V8JM2tTWrExqdjKPpKtYx2HSc75VOxY9ME4gDE8RvTZ7zKsaNx5C5kQePy1nWNGvPFrzSNUQGBQ/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/AVvXsEijCsVIJU2yBDdcK2c60VfOExXeiM21LdnSbmUjVqPDgX-xbp0QlGt1tDuVUG6-mnVRjVN9jPP2e2T0BhT70naVZMKrrUzET171YyTGLtwNjfjLchij4ryPpbPAu3SMOihTeEifrpd5SH4/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/AVvXsEjhoZtaF74GS5wTWjk6KV_rPt0FHbqrnceJVr-oVk3gNfXwv7g6P5ksFRBdlhND2DFqZ2s2KTvDdYS1Aft17tCFAuBLr4-US-CTFo01obbj7EkiG0YNHBLGB6yB6AcGCJtjFlessxlhJPs/s320/kacamata.jpg" width="200" /></a>
</dt>
</dl>
</div>
</div>
- Kode yang berwarna merah adalah url foto yang didapatkan dari hosting setelah foto diupload.
- Ukuran foto bisa diganti dengan merubah angka 150 dan 200.
- Angka 25% adalah prosentase untuk membuat foto berjajar menyamping 4 kolom (rumusnya: 100% dibagi 4 = 25%)
- Bila ingin menambah jumlah foto tinggal copy saja mulai kode <dl class="gallery-item"> sampai dengan kode </dl> demikian pula jika ingin menguranginya.
- Dalam menuliskan kode harus benar-benar rapat, jangan menggunakan enter, bila masih terdapat ruang kosong maka fungsikanlah backspace untuk menghapusnya sehingga kode menjadi rapat.
- Kalau semuanya sudah dilakukan dengan benar, hasilnya bisa dilihat disini.
Wassalam...
0 Comments