Adding a Frame to Images in Lightbox
PhilCorleyPhoto
Registered Users Posts: 107 Major grins
Is it possible to add a frame to an image displayed in the lightbox (and the thumbnails), so that it has a 2 px grey border, 75 px white border and then a 2 px grey border? 2/75/2 would be different for the thumbnails.
Thanks
Phil
Thanks
Phil
0
Comments
While you can frame your lightbox-photos I would not recommend doing it. I had done it for a while, but found that portrait-format photos would create trouble as their borders would be cut off unless I would also make the photos smaller.
But nevertheless here comes my former code (though "only" with a double border, I don't quite know how to build up a triple boarder):
You may have to change the size from the second part though, since your borders are larger than my original ones.
Good luck
Lille Ulven