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: shrinking images on displaying  (Read 2209 times)

0 Members and 1 Guest are viewing this topic.

yagoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
shrinking images on displaying
« on: December 31, 2006, 06:56:19 am »

I've tried to use intermediate images but: 1) GD gives me the typical memory allocation problems and I can't modify php.ini 2) I want that every user in my site can upload images... so intermediate images won't work for me.

I've been using the search these last 2 days for an alternative, but didn't find what I have in mind (maybe I didn't use the appropiate word!). What I need is to display the image shrunk if its width (not height) is over 800px. Then, if an image have e.g. a resolution of 1000x500, it would show the same image but with img params: width=800 and height=400 (in proportion). I don't know how to modify displayimage.php to achieve this.

Thanks for your support, and sorry for my english.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: shrinking images on displaying
« Reply #1 on: December 31, 2006, 11:22:34 am »

Coppermine should do exactly what you're up to if you set "Create intermediate pictures" to "no" in Coppermine's config.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.