Using intermediate images instead of thumbnails? Using intermediate images instead of thumbnails?
 

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

Main Menu

Using intermediate images instead of thumbnails?

Started by wbnp, August 20, 2010, 06:10:07 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

wbnp

Hello!

How can I use the intermediate size images instead of thumbnails on pages such as Album View, Most Recent etc.

I thought I saw some information regarding this but it has been a while since I've had a chance to work with CPG and I'm unable to find it now.  (It wasn't using CPGfetch.)


http://www.whyboysneedparents.com/Coppermine/

Thanks!

papukaija

Just delete the intermediate size images using admin tools and then disable the creation of intermediate size images from your gallery's settings.

dawjv

^^^ plus change the thumbnail size from Config Menu in Admin Controls, if you are comfortable with bigger thumbnails.

phill104

Ypu will be better off copying the relavent functions from the sample theme and adjusting as required. You will also need to redusce the number of columns to display in your config. To get a nice and tidy display will take some work.
It is a mistake to think you can solve any major problems just with potatoes.

wbnp

Quote from: papukaija on August 20, 2010, 06:38:55 PM
Just delete the intermediate size images using admin tools and then disable the creation of intermediate size images from your gallery's settings.

Thanks for the reply papukaija!

I don't understand - I WANT to use the intermediate size images so I'm not sure how deleting them would help.  Am I missing something?

wbnp

Quote from: dawjv on August 20, 2010, 06:41:33 PM
^^^ plus change the thumbnail size from Config Menu in Admin Controls, if you are comfortable with bigger thumbnails.

Hi dawjv,

I don't want to use the thumbnails because I don't think you can watermark them and I've found the the quality is degraded compared to the intermediate size image.

wbnp

Quote from: Phill Luckhurst on August 20, 2010, 06:53:26 PM
Ypu will be better off copying the relavent functions from the sample theme and adjusting as required. You will also need to redusce the number of columns to display in your config. To get a nice and tidy display will take some work.

Hi Phill,

I think this is exactly what I want to do but I'm not sure what the relevant functions are or what I need to substitute.

I assume you are talking about theme.php and while I can find a lot of references to "thumbnails" I'm not sure what I need to change.  Would it be possible for you to give me an example? 

I do know the site needs a lot of work but I think I need to figure out changing the thumbnails to the intermediate image before I can scale everything else and start working on the layout.

Thanks for your reply!

papukaija

Quote from: wbnp on August 20, 2010, 06:56:03 PM
Thanks for the reply papukaija!

I don't understand - I WANT to use the intermediate size images so I'm not sure how deleting them would help.  Am I missing something?

Sorry. I misread/misunderstood your question.

ΑndrĂ©

Quote from: wbnp on August 20, 2010, 06:57:53 PM
I've found the the quality is degraded compared to the intermediate size image.
That's not true. Coppermine doesn't differentiate the quality between the picture types.


Quote from: Phill Luckhurst on August 20, 2010, 06:53:26 PM
Ypu will be better off copying the relavent functions from the sample theme
I don't know if this is possible in that way.


@wbnp: try to open include/functions.inc.php, find
       $pic_prefix = array(
           'thumb'    => $CONFIG['thumb_pfx'],
           'normal'   => $CONFIG['normal_pfx'],
           'orig'     => $CONFIG['orig_pfx'],
           'fullsize' => '',
       );

and replace with
       $pic_prefix = array(
           'thumb'    => $CONFIG['normal_pfx'],
           'normal'   => $CONFIG['normal_pfx'],
           'orig'     => $CONFIG['orig_pfx'],
           'fullsize' => '',
       );