Forum archive 2000-2006

Nandor Sieben - blue frame around pics on the fly

Nandor Sieben - blue frame around pics on the fly

by Arnold Pizer -
Number of replies: 0
inactiveTopicblue frame around pics on the fly topic started 7/8/2005; 2:01:46 PM
last post 7/8/2005; 6:22:55 PM
userNandor Sieben - blue frame around pics on the fly  blueArrow
7/8/2005; 2:01:46 PM (reads: 610, responses: 1)
Is there a way to get rid of the blue frame around pics generated on the fly? Which function makes it? Nandor

<| Post or View Comments |>


userDavide P. Cervone - Re: blue frame around pics on the fly  blueArrow
7/8/2005; 6:22:55 PM (reads: 813, responses: 0)
The image() function is the one that is doing it. You can use the extra_html_tags option to image() in order to control the border. I haven't tried this, but it looks like

 

    image($picture, extra_html_tags=>'border=0')

should do what you want.

It is also possible to use the Image() function in union_problib/macros/unionImage.pl, which allows you direct control over the border, and doesn't even make the image be a link to another image unless you supply a larger version explicitly. (It is worthless to try to have the browser reduce the image, as most browsers do a horrible job with that and the result is unreadable, so I always use images at their natural size, as you have done, so there is no reason for the link.)

Davide

<| Post or View Comments |>