View Full Version : Border around images?
November 3rd, 2006, 01:40 PM
Just curious Zach, how would I place a 1px border around all pics in the gallery, especially thumbnails that show on the forumhome through the addon?
November 3rd, 2006, 03:23 PM
AdminCP = > vBGallery => Edit Templates
* Edit template: adv_gallery_imagebit
<img alt="$images[title]" class="tborder" src="$images[url]" />
<img alt="$images[title]" src="$images[url]" style="border: 1px solid #FF0000" />
#FF0000 = RED
Before you do that take a look @ this.
Round Overlay Addon v1.0
November 3rd, 2006, 03:53 PM
Zach, I couldn't find that exact line, but I found similar code. I modified that line to read this:
<img alt="$images[title]" src="$images[url]" style="border: 1px solid #555143" />
The whole div is this:
<div align="center" style="margin-top:5px;margin-bottom:5px">
<a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" src="$images[url]" style="border: 1px solid #555143" /></a>
The images are still not showing up with a border around them. I'm not all that much of a coder :) What could I be doing wrong?
September 4th, 2007, 02:04 PM
Trying to get a border to appear on my forum thumbnails as well. This change makes a border on thumbnails that appear on the gallery page, but not in my forum modules, i.e. the Random Gallery Images and Newest Gallery Images modules. What I REALLY want however, is for the border to appear on thumbnails that are inserted into threads, so people know automatically that they are clickable.
FYI I am running vba pp gallery v2.3, vBulletin Version 3.6.8, and CMPS v3.0 RC1.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.