Photo Overlays
[POVERLAY=9915333 padding=25 color=#f2f2f2]
[BOX bold family=Verdana size=75 lineHeight=80 marginLeft=-6]BENTOMAS[/BOX][BOX marginTop=-10]Developer[/BOX]
[/POVERLAY]
[PI=9915333]This is a picture, with some text overlayed on top of it.[/PI]
Notice how I used negative margins on the FONT tags to get the text lined up evenly on the left. Then I used a combination of line height and negative margins to bring the lines closer together. Unfortunately, this just takes some fiddling to get everything aligned well.
You can also set the alignment of the overlayed text. Write the overlay like this: [POVERLAY=<photo id> align=<alignment>]. The vertical alignment options are top and bottom. You can add horizontal alignment to the vertical alignment. Separate them with a dash: top-right. The horizontal alignment options are left, center and right. Here is an example of it in action...
[POVERLAY=9899741 padding=25 color=#f2f2f2 align=bottom-right]
[BOX bold family=Verdana size=75 lineHeight=80]RADEK[/BOX][BOX marginTop=-10]Mountain Biker[/BOX]
[/POVERLAY]
[PI=9899741]This is a picture, with some text overlayed in the bottom right[/PI]
Here are some more examples taken from actual articles...
[POVERLAY=13989390 align=middle-center paddingBottom=50 color=black family="Times New Roman"]
[BOX size=80]THE FINAL COUNTDOWN[/BOX][BOX size=15 marginTop=-15]Words & Photography // Dave Trumpore & Matthew Delorme[/BOX]
[/POVERLAY]
[PI=13989390][/PI]
[POVERLAY=13862616 align=middle-center color=#f8eb8a]
[BOX bold size=60 letterSpacing=15]RETURN[/BOX][BOX bold size=20 letterSpacing=5 marginTop=-5 marginBottom=-5]TO THE[/BOX][BOX bold size=60 letterSpacing=15]ROCKIES[/BOX]
[/POVERLAY]
[PI=13862616][/PI]
[POVERLAY=13900988 align=top-center paddingTop=130]
[BOX size=125 lineHeight=125 family=Impact]FROM THE ASHES[/BOX][BOX size=50 family=Impact]Vallnord Wold Cup Finals[/BOX][HR size=2 color=white width=40%][BOX size=12 marginTop=10]photography & words: // nathan hughes // matt delorme // dave trumpore[/BOX]
[/POVERLAY]
[PI=13900988][/PI]
[POVERLAY=13182971 align=top-left paddingTop=100 paddingLeft=90]
[BOX size=83 lineHeight=83 marginBottom=-15 family="Times New Roman"]MCGAZZA[/BOX][BOX size=90 lineHeight=90 family="Times New Roman" marginBottom=-10]FOREVER[/BOX][HR size=2 color=white width=100%][HR size=2 color=white width=100%][BOX size=60 family="Times New Roman"][CENTER]1982–2016[/CENTER][/BOX]
[/POVERLAY]
[PI=13182971][/PI]
[POVERLAY=14379763 align=bottom-left paddingBottom=64 paddingLeft=56 color=black]
[BOX family=impact size=64 lineHeight=84 marginBottom=-15 marginLeft=-3]INSIDE[/BOX][BOX family=impact size=200 lineHeight=200 marginLeft=-9]ROTWILD[/BOX][BOX family=impact size=16]WORDS AND PHOTOGRAPHY // MATT WRAGG[/BOX]
[/POVERLAY]
[PI=14379763][/PI]
Using the BOX tag with a border and margins is also a very nice effect. Though it does mean you need to use FONT tags where the new lines are a little trickier.
[POVERLAY=9911671 align=bottom-left]
[BOX padding=30 margin=30 width=none border=white color=white]
[FONT family=impact size=64 lineHeight=84 marginLeft=-3]INSIDE[/FONT]
[FONT family=impact size=200 lineHeight=92 marginLeft=-9]ROTWILD[/FONT]
[FONT family=impact size=16]WORDS AND PHOTOGRAPHY // MATT WRAGG[/FONT]
[/BOX]
[/POVERLAY]
[PI=9911671][/PI]
[POVERLAY=14439383]
[FONT family="verdana" bold size=30 color=#fff lineHeight=30 paddingTop=56 paddingLeft=32]Riding the[/FONT]
[FONT family="verdana" bold size=94 color=#fff lineHeight=100 paddingLeft=32]Morpheus Conspiracy[/FONT]
[/POVERLAY]
[PI=14439383][/PI]
138 Comments
I added a section titled "Other Photo Details" with a few things to keep in mind.
We've made the iframe embedding more powerful, so check out the docs for that.
Made it possible to add links to photo captions.
Right now it shows as standard width... any idea of what I have to do?
Thanks!
[QUOTE author="Shannon Fox, Teacher"]It was such an amazing gift that Pinkbike Share the ride program gave to Exshaw School. I now have the ability to run a bike program within the physical education program. Some of the kids here don’t own bike or have never even ridden one and are so excited to learn. I now get to share my passion of biking with them and hopefully show them the health benefits, freedom and joy of riding a bike. Thank you to Pinkbike and all of the sponsors that contributed to make this happen.[/QUOTE]
Here is the code "[PI=15158688 size=l0 align=c width=window][/PI]"
Can you tell what's going on?
Thank you!
Equally - are we able to put URL links into captions? The standard approach doesn't seem to work.
Thank you so much for putting this blog together!!
If it gives more blogging options, I need to get it!
Join Pinkbike Login