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: help with GD2  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

mrjboyle

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
help with GD2
« on: February 03, 2014, 04:06:10 pm »

Hi All

I'm very new to PHP, but have installed CPG on a club website, but I'm having some problems with the uploaded images.

The club rules that images submitted for the club must follow certain rules, look below:

Landscape images must be 1400px longest size
Portrait images must be 1050px longest size
Colour profile must be srgb
Format must be jpeg

I have set the max image size to 1400 in the admin menu and hope that the software resizes the images to that.
But the problem is How do I change the colour space to srgb, and the output image is a gifs file not jpeg
Is there a way to change this?

Please help, I can follow basic codes, but still need help

Cheers

JB
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: help with GD2
« Reply #1 on: February 03, 2014, 04:48:34 pm »

You have 2 possibilities:
1. Reject images that don't fit the requirements
2. Let Coppermine resize/convert them

Both would need some custom code, as you cannot set such special requirements via the config.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.