forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: bewbs on September 12, 2004, 11:42:07 pm

Title: Full size images causing ugliness :/
Post by: bewbs 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.
Title: Re: Full size images causing ugliness :/
Post by: kegobeer 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?
Title: Re: Full size images causing ugliness :/
Post by: Casper 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
Title: Re: Full size images causing ugliness :/
Post by: bewbs 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 resized pictures
> Both thumbnails and resized pictures[/list]

Or

Delete original size photos (1)

Thank you.
Title: Re: Full size images causing ugliness :/
Post by: Casper 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.
Title: Re: Full size images causing ugliness :/
Post by: bewbs on September 14, 2004, 10:33:14 pm
It seems it didn't work... am I missing something?