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: How to not modify the original picture  (Read 1844 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.024 seconds with 19 queries.