Full size images causing ugliness :/ Full size images causing ugliness :/
 

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

Full size images causing ugliness :/

Started by bewbs, September 12, 2004, 11:42:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bewbs

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.

kegobeer

Did you turn off the create intermediate pictures option?  Or maybe you set your max height/width for your intermediate pictures too high?
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

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;
$winsizeX = $CURRENT_PIC_DATA['pwidth'] + 16;
           $winsizeY = $CURRENT_PIC_DATA['pheight'] + 16;


Change the '16' to 18, or 20, whichever works best. /off topic
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

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.

Casper

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

It seems it didn't work... am I missing something?