coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: debragrant on December 06, 2007, 01:44:19 PM

Title: blue border around images - how to remove?
Post by: debragrant on December 06, 2007, 01:44:19 PM
I have 2 sites each using the same version of coppermine. cpmfetch etc

On www/georgieparker.diva-host.com (http://www/georgieparker.diva-host.com) there isn't a border round the images but on www.libbytanner.diva-host.com (http://www.libbytanner.diva-host.com)

How do I remove this?
Title: Re: blue border around images - how to remove?
Post by: debragrant on December 06, 2007, 02:01:11 PM
I've managed to sort the border out but there seems to be a bog gap between images & text  ???
Title: Re: blue border around images - how to remove?
Post by: Sami on December 06, 2007, 02:08:15 PM
how did you solve your first issue ?
I'm asking because I want you to describe it for others with same issue

Can't see the 2nd problem , Please take a screen shot from what you see and attach it to the post by using additional option
Title: Re: blue border around images - how to remove?
Post by: debragrant on December 06, 2007, 02:12:10 PM
now attached
Title: Re: blue border around images - how to remove?
Post by: debragrant on December 06, 2007, 02:13:50 PM
the ifrst issue -

I copied the image codes from the other sites style sheet into this ones.
Title: Re: blue border around images - how to remove?
Post by: Sami on December 06, 2007, 02:56:37 PM
about your first issue:
If you set the border attribute of img tag to 0 then your linked image will show without border, something like this

<a href="somewhere around"><img src="path to image" alt="blabla" border="0" /></a>


Edit your {wordpress folder}/plugins/coppermine/coppermine.css , around line #7 you'll find cpg-image-thumb style, set the margin value to auto 1px and that will remove the gap

It would be better if you check this thread (http://forum.coppermine-gallery.net/index.php?topic=31423.0) and install one of the recommended Web development tool , this way you can solve this kind of problems much faster
my recommendation is Firebug for FireFox (http://forum.coppermine-gallery.net/index.php?topic=31423.msg187175#msg187175)
Title: Re: blue border around images - how to remove?
Post by: debragrant on December 06, 2007, 02:59:24 PM
I've realised why the gap is there coz the file name is showing all i need to do now is turn that off