Thumbnail border?

slackbladder
slackbladder's picture

Joined: 2002-11-05
Posts: 26
Posted: Tue, 2002-11-05 00:15

Is it possible to include the 'border="1"' in to the random image code? So that each random thumbnail has a border!

Thx
Tony

Also 'big up' to the Gallery devs, this is a fantastic script - although I can't see why it isn't an integral part of PHP-Nuke, should be!! :wink:

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2002-11-05 05:19

Hi. You can change this line in classes/Image.php in the getTag() function:
< $attrs .= " border=0";
to
> $attrs .= " border=1";
Of course, this will affect all of your images! (but at least it's straightforward :smile: ).

-Beckett (beck@beckettmw.com)

 
slackbladder
slackbladder's picture

Joined: 2002-11-05
Posts: 26
Posted: Tue, 2002-11-05 10:06

Hi Beckett,

Many thanks for that - worked a treat.

Tony :smile:

 
joerg
joerg's picture

Joined: 2002-10-12
Posts: 77
Posted: Wed, 2002-11-06 08:56

Hallo,

in the actual beta of my random-block (only for postnuke!) you can select a border in the block-config-dialog.

Joerg

You can get the latest code <!-- BBCode Start --><A HREF="http://www.holzapfel-online.de/modules.php?op=modload&amp;name=Downloads&amp;file=index&amp;req=getit&amp;lid=9" TARGET="_blank">here</A><!-- BBCode End -->.