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: How to not modify the original picture  (Read 1825 times)

0 Members and 1 Guest are viewing this topic.

PhLinuX

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
How to not modify the original picture
« on: July 31, 2020, 06:24:55 pm »

For my personal family gallery, I was running cpg1.4 then 1.5 but now, it can't run anymore. (I missed to make regular updates since 1.5)
(debian 9/php 7 : mysql type is not usable anymore and must be replaced by mysqli or pdo which is a good thing).
So I was unable to make an upgrade to 1.6.
I just installed cpg1.6 in parrallel with a new database and I'm getting back my pictures stored into a "photos" disk.
As I don't want my pictures copied elsewhere, I replaced the directory albums by a link to my photos directory (as I did with cpg 1.5)
I load the pictures into cpg via the "FTP batch load" but I noticed that my original pictures are modified.
I tried removing the cpg write access (apache2 www-data group) on original pictures but, in that case they are purely erased without any message.
Only a warning icon indicates the image doesn't exists but it is already too late.
I don't find any parameter that could avoid this problem in the cpg configuration.
May be I'm doing something wrong.
Anyone can confirm what I'm trying to do it is not possible?
Many thanks
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
How to not modify the original picture
« Reply #1 on: July 31, 2020, 07:30:52 pm »

So I was unable to make an upgrade to 1.6.
You should have been able to upgrade to 1.6.
https://forum.coppermine-gallery.net/index.php/topic,79013.0.html
Depending on the situation, you may still be able to.
Logged

PhLinuX

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: How to not modify the original picture
« Reply #2 on: July 31, 2020, 11:12:26 pm »

Many thanks for your reply ron4mac

I didn't find this information about upgrade via a PHP script. I'm going to try it as I didn't modify anything the original configuration.  8)

Regarding the size of the modified files, I respond to myself :
I finaly found that my pictures were resized because they were larger than the defined maxsize in the config. (2000px max).

Thanks again for help.
PhL

Logged

PhLinuX

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Resolved] How to not modify the original picture
« Reply #3 on: July 31, 2020, 11:14:09 pm »

Many thanks for your reply ron4mac

I didn't find this information about upgrade via a PHP script. I'm going to try it as I didn't modify anything the original configuration.  8)

Regarding the size of the modified files, I respond to myself :
I finaly found that my pictures were resized because they were larger than the defined maxsize in the config. (2000px max).

Thanks again for help.
PhL
Logged
Pages: [1]   Go Up
 

Page created in 0.071 seconds with 19 queries.