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: Disable resizing before upload  (Read 10532 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Disable resizing before upload
« on: August 14, 2008, 08:38:27 am »

Is it possible to disable resizing before uploading? The pictures looks very ugly, if this is done by the java applet.
I set a very high value (10000) for 'maxNonTransformedPictureSize' as workaround, but i think it should be configurable.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Disable resizing before upload
« Reply #1 on: August 31, 2008, 11:16:05 pm »

The picture should not look 'ugly'.

  Can you give a sample of the original and the ugly one ?


2 questions here:
1) what compression level do you use in JUpload. The parameter name is: pictureCompressionQuality. Default is 80% (0.8).
2) Associated with your 'gif' trouble: perhaps you use a different java than mine, with ... different results ...



Etienne
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Disable resizing before upload
« Reply #2 on: September 01, 2008, 08:07:41 am »

I don't know why, but now the pictures looks nearly the same as I uploaded them with "batch-add". I can't reproduce it :-X
The compression level was always set on the default value (80%). The behaviour was, that the image was much more brighter than the original and about 5px was cutted from the edges.

Anyway, it would be good when you can disable this via config. Yesterday I added 850 pictures in one album. It tooks some minutes before the upload started, because (i think) the applet checked every file, if it must be resized before upload or not.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Disable resizing before upload
« Reply #3 on: September 01, 2008, 12:14:01 pm »

Right.

I'll update the meaning of maxNonTransformedPictureSize. 0 will mean: no transformation at all.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Disable resizing before upload
« Reply #4 on: September 01, 2008, 12:31:36 pm »

I'll update the meaning of maxNonTransformedPictureSize. 0 will mean: no transformation at all.
Is this already working or just in next version?
Logged

Kurman

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Disable resizing before upload
« Reply #5 on: October 01, 2008, 05:39:43 am »

I want to disable editing of images by juploader also.
But my reason is that no one image uploaded by juploader can be viewed.
They are uploaded well,  and when I download them by ftp, I see them without problem, they are not corrupted or something.
But from my gallery by any browser (I tried Opera, Mozilla and IE) I cannot view them (permissions they created with are right). Even, I just upload, I cannot see thumbnail, when promted to enter title and description. Instead of both thumbnail and actual image I see only (x). On properties I see type of file (text/html) instead of jpg or jpeg.
Besides I can upload by standart uploadin way of coppermine without problem.

Problem in JUpload maybe coused by false identification of uploaded image file? instead of jpeg file, server sends to browser text/html information? I looked up all conversations about jupload on this forum, but didn't see nothing related with my problem.
Can anyone help me with it?
« Last Edit: October 01, 2008, 07:42:32 am by Kurman »
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.