Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Intermediate image size  (Read 4724 times)

0 Members and 1 Guest are viewing this topic.

Taraboom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Intermediate image size
« on: March 14, 2010, 01:47:48 am »

I tried to look through documentation and forum to see if that was covered before but could not come up with any leads.

To the best of my understanding, intermediate image size generated by coppermine is 400 pixels in the larger dimension.
Could the size be increased?
Could that be done without messing up formatting?

I would like to use custom theme Rin CPG (link to the gallery (with just the template installed) http://www.adpaintings.com/gallery/ )

(Theme Name: Rin| Theme URI: http://www.brokenkode.com/rin/ |Version: 1.0 | Author: Khaled Abou Alfa |Ported to CPG by: Billy Bullock)

This is a note from read me file
I've also adapted the compute_img_size($width, $height, $max) function to manage the size of the intermediate image. As in some cases (example would be the Coppermine demo page), some galleries have intermediate images of different sizes. This function was changed and added to the theme.php to make view all intermediate images at 400px wide. This function is now compute_img_size_max($width, $height) and you can change the view size by editing $max = 400;. If you have intermediate images smaller than 400px wide then this function will increase the image size when viewing which could result in a distorted image. Since the default size in Coppermine is "400", this should not be a problem unless you've decreased it. This setting in the theme.php file does not affect the setting in your Coppermine configuration but only resizes the images in the browser. Here's a link to additional info in the manual - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumbnail

Thank you
Logged

Taraboom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Intermediate image size
« Reply #1 on: March 14, 2010, 12:33:17 pm »

Found that a click on medium size window brings full size pop-up.
Apologies, I really should spend some time getting myself familiar

Pavel
http://www.adpaintings.com/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Intermediate image size
« Reply #2 on: March 14, 2010, 01:25:06 pm »

Please read that particular theme's announcement thread Rin - Theme for cpg1.4.x and WordPress 1.5. The porter Gizmo goes into detail there about the space issues with that theme.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.