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: Delete pictures anyway  (Read 5249 times)

0 Members and 1 Guest are viewing this topic.

gromeck

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Delete pictures anyway
« on: October 20, 2003, 03:02:28 pm »

Hi *.

I would like to request the feature of deleting pictures from an album even when the directory is not writable.

Images can be added without write access to the directory, so deleting the image from the DB should also be ok.

I did already the modifications on CPG1.2RC2. Where can I dump the patch?

gromeck
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Delete pictures anyway
« Reply #1 on: October 20, 2003, 11:35:34 pm »

they can't be added to a non-writable dir afaik.

GauGau
Logged

gromeck

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Delete pictures anyway
« Reply #2 on: October 21, 2003, 12:25:20 am »

Sure, they can -- if the thumbnail and the normal resolution files exists!

My userpics is linked into the web servers document tree and is read-only for wwwrun. All thumbnails and normal resolution files are already there because of two reasons: there are not only used by CPG, and the CPG-way of generating these images is not optimal (this is a ImageMagick issue: thumbnails and normal resolution files shouldn't contain all the Exif and comment stuff, and they should be progressive).

gromeck
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Delete pictures anyway
« Reply #3 on: October 21, 2003, 12:52:42 am »

hehe - I can see you're some advanced user... :wink:

Most users don't understand about thumbnail and intermediate sized pic creation issues enough to care, so let me put this clear for those reading this thread: unless you have some other means of creating the thumbs and intermediate pics in the folders (read: create it on your client and upload it with the full-size pics), you must have permissions set to /albums and all subfolders as stated in the readme (777 or 755 depending on your webhost/server config).

I don't think this feature will actually make it into a release (as very few will actually use it and it'd confuse most users). Why don't you code it (you probably already have :wink: ) and share it as add-on?

GauGau
Logged

gromeck

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Delete pictures anyway
« Reply #4 on: October 21, 2003, 01:09:59 am »

... because the change is just to delete two lines in the code!
Hmm, this 'add-on' would be a 'del-on' :)

A patch file just left my outgoing mailbox into your direction.

gromeck
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.