I've just installed Serendipity, added a few templates and tried out static pages and this far I am liking it very much. My idea in using this blogtool is to write stories which is mostly about pictures I take or find and from screenshots from games, kind of an 'online rpg game diary'.
I found the lightbox plugin when I was checking out Spartacus, installed it and then went blank on how to add it to an entry.
I added a picture to my media directory and then, as I edited an entry I added a picture with the 'media' button. The picture didnt become clickable as it should with the lightbox plugin, so I manually added the href tag around the image, pointing to the 'full' image and voila, it worked.
The code in my entry looks like this:
Code: Select all
<a href="/uploads/beard.jpg" class="lightbox"><img width='72' height='110' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/beard.serendipityThumb.jpg" alt=""/></a>Now ... I liked to be able to add it more easy so I scanned these forums to see if I had missed something. I found
http://www.s9y.org/forums/viewtopic.php?t=5647, and followed the directions in the last post in that thread.
The new post, with a picture, I created didnt work as it should. The image tag added from using the 'media' button looked like this:
Code: Select all
<a class='serendipity_image_link' href="/uploads/NCity.bmp"><img width='110' height='83' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/NCity.serendipityThumb.bmp" alt="" /></a>
Im starting to wonder if Im blindfolded and missing something here. I am using the default template to and have tested with others, same result.
Please help.
Thanks in advance.
EDIT: It seems it had something to do with adding a bmp image, don't know why. I added a new jpg picture and now THAT one works. only problem is that lightbox don't resize the picture so it won't be bigger then the browser..