intermediate image tiled slightly... can't get rid intermediate image tiled slightly... can't get rid
 

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]

Main Menu

intermediate image tiled slightly... can't get rid

Started by jamminn, June 11, 2007, 05:22:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamminn

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.  :)

Joachim Müller

Quote from: jamminn on June 11, 2007, 05:22:11 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.

jamminn

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

Nibbler

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


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


to


.image {
        margin: -1px;
}


Which seems to correct the appearance.

jamminn

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 :)

jamminn

at least i think thats where that bit came from  (sorry... my head today!) dont quote me on that .....