Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: blue border around images - how to remove?  (Read 2829 times)

0 Members and 1 Guest are viewing this topic.

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
blue border around images - how to remove?
« 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 there isn't a border round the images but on www.libbytanner.diva-host.com

How do I remove this?
« Last Edit: December 06, 2007, 04:16:57 pm by GauGau »
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: blue border around images - how to remove?
« Reply #1 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  ???
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: blue border around images - how to remove?
« Reply #2 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: blue border around images - how to remove?
« Reply #3 on: December 06, 2007, 02:12:10 pm »

now attached
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: blue border around images - how to remove?
« Reply #4 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.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: blue border around images - how to remove?
« Reply #5 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
Code: [Select]
<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 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: blue border around images - how to remove?
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.