[Clipart] Continuing improving the openclipart flag collection

Jonadab the Unsightly One jonadab at bright.net
Tue Feb 8 05:24:20 PST 2005


Christian Fredrik Kalager Schaller <uraeus at linuxrising.org> writes:

> Another nice addition would be a frame around the flags, like we had
> on the sodipodi website. A lot of flags use white so without a
> border they become hard to understand how they actually look on the
> webpage.

It would be possible to modify the browse/navigate tool to put borders
around the images, if this is indeed desirable.  I believe it's even
possible to only do this within the flags hierarchy.  The change would
be around line 110, and would perhaps look something like this:

    print td({-style=>'border: 0px;text-align: center; vertical-align: top; border: none'},
	      a({-href=>"$web_root/$dir/$img"},
		(-f "$system_root/$dir/$png")?img({-border=>( ($dir=~/flags/)
                                                               ?'1px solid #000000'
                                                               :'0px'), %dim,
						   -alt=>$images{$img}{Title},
						   -src=>"$web_root/$dir/$png"}):$img));

Is that the effect we want?

-- 
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/




More information about the clipart mailing list