Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: intermediate image tiled slightly... can't get rid  (Read 3671 times)

0 Members and 1 Guest are viewing this topic.

jamminn

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
intermediate image tiled slightly... can't get rid
« on: June 11, 2007, 05:22:11 pm »

Hi
Coppermine 1.4.10 newbie here
i love it - just what I have been looking for for agess
my only issue after 4 days or so of learning/tweaking is:
My intermediate images have a slight "tile" effect on the right & bottom edges of the image (the top is repeated at the bottom for about 3 px, and likewise with the left on the right)
I am well confused,
Tried pretty much all permutations of :
  • re-sizing the image manually, so gd doesnt have to
    having gd do all the resizing
    generating / not generating intermediate images
    setting the max file/maz upload dimension to bigger / smaller than my images
Can anyone tell me where I can have a go at stopping this?
Incidentally, this unwanted effect disappears when using the slideshow(?)
Im using gd 2 and DONT have permissions above my public html folder for this site. I have disabled the full image linking of the intermediate images by getting rid of the line <script type="text/javascript" src="scripts.js"></script> in my template html.
T.I.A  ???
sorry if this is in the wrong place / has been covered before. I DID have a good look first.  :)
« Last Edit: June 11, 2007, 09:32:29 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: intermediate image tiled slightly... can't get rid
« Reply #1 on: June 11, 2007, 06:02:57 pm »

I have disabled the full image linking of the intermediate images by getting rid of the line <script type="text/javascript" src="scripts.js"></script> in my template html.
Wrong method to disable the full-size pop-ups. Restore the line you removed.

As we're not mind readers and therefor can't figure out what is wrong, it would help if you posted a link to your gallery. In fact, posting a link to your gallery is almost mandatory in every new thread you start.
Logged

jamminn

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: intermediate image tiled slightly... can't get rid
« Reply #2 on: June 11, 2007, 06:57:33 pm »

ok i know u aint telepathic! - many apologies, having a scatty day today.
here is a link to an image with a weird border:
http://victoriaharrisonphotography.co.uk/shop/displayimage.php?album=11&pos=0
atm, I am using
jpegs 450x301 px
NOT allowing images/uploads overs 450px - (if i lower this number in the config the tiling becomes more pronounced, covering the whole alloted image area)
NOT allowing coppermine to re-size images.

The java path i ripped out is back in. (Ok I know it was a butchering job, but I also know I am NO coder either lol) Could anyone advise on the correct way of removing link to full size popups?

 ;D
Logged

Nibbler

  • Guest
Re: intermediate image tiled slightly... can't get rid
« Reply #3 on: June 11, 2007, 08:54:09 pm »

It's caused by the overlay image you are using. You can change your stylesheet like this:

Code: [Select]
.image {
        border-style: soild;
        border-width: 0px;
        border-color: #FFFFFF;
        margin: 1px;
}

to

Code: [Select]
.image {
        margin: -1px;
}

Which seems to correct the appearance.
Logged

jamminn

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: intermediate image tiled slightly... can't get rid
« Reply #4 on: June 11, 2007, 09:04:57 pm »

oo yeah   :)
overlay was there as part of security (right clicking just saved image.gif)
got that from part of the paypal mod by walter rowe...(http://www.roweimages.com/main.html)
thanks for a second pair of eyes :)
Logged

jamminn

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: intermediate image tiled slightly... can't get rid
« Reply #5 on: June 11, 2007, 09:08:05 pm »

at least i think thats where that bit came from  (sorry... my head today!) dont quote me on that .....
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.