Z – Image Shortcodes

[teaser]One of the more difficult part of some themes is using shortcodes for images. They make you define the width and height…and you gotta get out the calculator and figure out how to keep the ratio…and measure the width of the column you want it to fit in…etc. We let you include a width and height attribute if you want to specify a size, but if you don’t we automatically calculate widths and heights to fit perfectly. Easy as can be.[/teaser]

[line]
[h4]Normal Images[/h4]

[column_two_fifths]
[code_table]
[code_line][image]image.jpg[/image][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[image]{THEME_ROOT}/images/preview/200×200-1.jpg[/image]
[/column_one_fifth]
[column_one_fifth]
[image]{THEME_ROOT}/images/preview/200×200-2.jpg[/image]
[/column_one_fifth]
[column_one_fifth]
[image]{THEME_ROOT}/images/preview/200×200-3.jpg[/image]
[/column_one_fifth]

[line]

[column_two_fifths]
[code_table]
[code_line][bordered_image]image.jpg[/bordered_image][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[bordered_image]{THEME_ROOT}/images/preview/200×200-1.jpg[/bordered_image]
[/column_one_fifth]
[column_one_fifth]
[bordered_image]{THEME_ROOT}/images/preview/200×200-2.jpg[/bordered_image]
[/column_one_fifth]
[column_one_fifth]
[bordered_image]{THEME_ROOT}/images/preview/200×200-3.jpg[/bordered_image]
[/column_one_fifth]

[line]
[h4]Image Links[/h4]

[column_two_fifths]
[code_table]
[code_line][image_link url= »# »][/code_line]
[code_line]path-to-image.jpg[/code_line]
[code_line][/image_link][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[image_link url= »# »]{THEME_ROOT}/images/preview/200×200-1.jpg[/image_link]
[/column_one_fifth]
[column_one_fifth]
[image_link url= »# »]{THEME_ROOT}/images/preview/200×200-2.jpg[/image_link]
[/column_one_fifth]
[column_one_fifth]
[image_link url= »# »]{THEME_ROOT}/images/preview/200×200-3.jpg[/image_link]
[/column_one_fifth]

[line]

[column_two_fifths first= »yes »]
[code_table]
[code_line][bordered_image_link url= »# »][/code_line]
[code_line]path-to-image.jpg[/code_line]
[code_line][/bordered_image_link][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[bordered_image_link url= »# »]{THEME_ROOT}/images/preview/200×200-1.jpg[/bordered_image_link]
[/column_one_fifth]
[column_one_fifth]
[bordered_image_link url= »# »]{THEME_ROOT}/images/preview/200×200-2.jpg[/bordered_image_link]
[/column_one_fifth]
[column_one_fifth]
[bordered_image_link url= »# »]{THEME_ROOT}/images/preview/200×200-3.jpg[/bordered_image_link]
[/column_one_fifth]

[line]
[h4]Image Lightbox Links[/h4]

[column_two_fifths]
[code_table]
[code_line][image_lightbox url= »big-image.jpg »][/code_line]
[code_line]path-to-image.jpg[/code_line]
[code_line][/image_lightbox][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[image_lightbox url= »{THEME_ROOT}/images/preview/600×400-1.jpg »]{THEME_ROOT}/images/preview/200×200-1.jpg[/image_lightbox]
[/column_one_fifth]
[column_one_fifth]
[image_lightbox url= »{THEME_ROOT}/images/preview/600×400-2.jpg »]{THEME_ROOT}/images/preview/200×200-2.jpg[/image_lightbox]
[/column_one_fifth]
[column_one_fifth]
[image_lightbox url= »{THEME_ROOT}/images/preview/600×400-3.jpg »]{THEME_ROOT}/images/preview/200×200-3.jpg[/image_lightbox]
[/column_one_fifth]

[line]

[column_two_fifths]
[code_table]
[code_line][bordered_image_lightbox url= »big-image.jpg »][/code_line]
[code_line]path-to-image.jpg[/code_line]
[code_line][/bordered_image_lightbox][/code_line]
[/code_table]
[/column_two_fifths]
[column_one_fifth]
[bordered_image_lightbox url= »{THEME_ROOT}/images/preview/600×400-1.jpg »]{THEME_ROOT}/images/preview/200×200-1.jpg[/bordered_image_lightbox]
[/column_one_fifth]
[column_one_fifth]
[bordered_image_lightbox url= »{THEME_ROOT}/images/preview/600×400-2.jpg »]{THEME_ROOT}/images/preview/200×200-2.jpg[/bordered_image_lightbox]
[/column_one_fifth]
[column_one_fifth]
[bordered_image_lightbox url= »{THEME_ROOT}/images/preview/600×400-3.jpg »]{THEME_ROOT}/images/preview/200×200-3.jpg[/bordered_image_lightbox]
[/column_one_fifth]



Par où commencer ? Suis ces étapes pour reprendre le pouvoir sur ta santé et augmenter ton niveau d’énergie.

1 — Clique ici pour recevoir ma newsletter comme près de 100 000 autres personnes
2 — Découvre mes livres (tout beaux et en papier, oui !)
3 — Télécharge mon ebook gratuit « 5 habitudes simples à mettre en place pour péter le feu »
4 — Rejoins la communauté !
Page Facebook « Jérémie Mercier » et le groupe Facebook privé « Prends Ta Santé en Main »
• Mes vidéos et interviews d’experts sur YouTube et sur Odysee
• Sur Instagram

5 — Pour être sûr de rester en contact en cas de censure, rejoins mon canal Telegram https://t.me/DeconfineTaSante