I can not just lightbox Posts in use with thumbnails, but can also place the Lightbox link on a text that can also be accessed from the sidebar. Is not that hard.
I first create a new post in which I upload the image to be displayed in the lightbox (check for correct size of the original image!). I publish this post but do not save him but only as a draft. But I have to ensure that the image in my Picasa Web Album is stored for bloggers and can be accessed with a link.
Now I'm the "Edit HTML" in the post editor in the mode and copy the HTML code.
Then I open layout> page elements and add in Sidebar Gadget of the "HTML / JavaScript" added. In the code window, I paste the HTML code that looks like this:
Now the code must be edited. First I delete
behind S1600 the -h .
Then I add before image anchor = "1" :
This is the title optional, that is the text that is displayed in the lightbox below the image.
If I want to click on an image but a text link, I remove the entire img tag, that is all that here:
Instead, I write to this point the text will then appear as a link in the sidebar on the image, eg "click here ..."
shot to my HTML code looks like this:
The really is all that is really not that hard.
And if I may use this text link is not in the sidebar, but in a post, I copy the code easily in the post editor (mode "Edit HTML") to the body of the text where you want to it:
0 comments:
Post a Comment