Fit image to browser window or monitor size? Fit image to browser window or monitor size?
 

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

Fit image to browser window or monitor size?

Started by andrewedmondson, January 18, 2006, 06:58:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

andrewedmondson

When an image is selected, it opens a new window. The image does not fit the browser though; it is too big.

Is there a way of fitting the image to the browser, or do I need to reduce the size of the photos?

Thanks

btw Great program. Best I've seen

andrewedmondson

OK I've found out how to do it from a previous post:

Use Files and Thumbnail Settings inside Config, then use Admin to resize.

Trouble is, I get a 30 second timeout when resizing.

How to overcome this?

andrewedmondson

OK gradually getting there.

You have to apply two modifications by Stramm.

First install the Watermark modification. Here is the link:

http://forum.coppermine-gallery.net/index.php?topic=16286.0

Then you have to modify the util.php file. Here is the link:

http://forum.coppermine-gallery.net/index.php?action=profile;u=14796;sa=showPosts;start=700

Trouble is, I just don't have time. I'll just upload the pictures again, resized.

Joachim Müller

Quote from: andrewedmondson on January 19, 2006, 11:11:16 AM
Trouble is, I just don't have time. I'll just upload the pictures again, resized.
That's what we recommend anyway: you should resize your pics on your client before uploading them. Using the watermark mod as a workaround is not recommended at all.