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: Full size images causing ugliness :/  (Read 4231 times)

0 Members and 1 Guest are viewing this topic.

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Full size images causing ugliness :/
« on: September 12, 2004, 11:42:07 pm »

Hi there,

I'm having a problem with Coppermine that I'm not sure how to fix. I've searched the forums and tried a few things, but it seems they're not the remedy for my problem.

In my gallery I have large images (1024 is the biggest, I think) and when the image is displayed it's at full size, so it moves the table under my right hand menu... This is really hard to explain for me, so here's a link to what I'm talking about:

http://hyung-taekim.org/displayimage.php?album=random&cat=10&pos=-71

Is there any way to set it to where the image fits into the table & aligned correctly? I'm lost on what to edit.

Thank you.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Full size images causing ugliness :/
« Reply #1 on: September 12, 2004, 11:44:38 pm »

Did you turn off the create intermediate pictures option?  Or maybe you set your max height/width for your intermediate pictures too high?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Full size images causing ugliness :/
« Reply #2 on: September 12, 2004, 11:52:24 pm »

Ok, you are not using intermediate size pics, so all images are shown at full size on the displayimage page.
The theme you are using is not suitable for using like this.  

The best way to prevent this, and still be able to use reynolds theme, is to change to using intermediate size pics, at a maximum width of 600, and then use the admin tools to rebuld the intermediate pics.  This would only do that for pics wider than 600px.

off topic.  Your popups always come up with scrollbars, which you could get rid of by opening your displayimage.php, and changing this bit of code;

Find;
Code: [Select]
$winsizeX = $CURRENT_PIC_DATA['pwidth'] + 16;
            $winsizeY = $CURRENT_PIC_DATA['pheight'] + 16;

Change the '16' to 18, or 20, whichever works best. /off topic
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Full size images causing ugliness :/
« Reply #3 on: September 13, 2004, 12:31:02 am »

Before I go doing stuff that I think I'm supposed, which should I be selecting?

Update thumbs and/or resized photos (1)
What should be updated (2):
    > Only thumbnails
    >
Only resized pictures
> Both thumbnails and resized pictures[/list]

Or

Delete original size photos (1)

Thank you.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Full size images causing ugliness :/
« Reply #4 on: September 13, 2004, 01:14:29 am »

Hi,

just use the 'update thumbs and/or resized' section, 'only resized' option.  There is no need to rebuild the thumbs, and you don't want to delete the originals, if you want your users to be able to see the full size pic.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bewbs

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
  • Delirium Trigger
Re: Full size images causing ugliness :/
« Reply #5 on: September 14, 2004, 10:33:14 pm »

It seems it didn't work... am I missing something?
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.