Advanced search  

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]

Pages: [1]   Go Down

Author Topic: help with GD2  (Read 1819 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.04 seconds with 19 queries.