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 delete intermediate size pictures ?  (Read 5003 times)

0 Members and 1 Guest are viewing this topic.

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
How to delete intermediate size pictures ?
« on: November 05, 2003, 04:13:44 pm »

Hi,

I don't use the intermediate pictures anymore. How can i delete them to gain disk space ?

Thanks in advance for your response,

Mika.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
How to delete intermediate size pictures ?
« Reply #1 on: November 05, 2003, 05:39:18 pm »

take a look into "resize pictures" in admin menu (disable the creation of intermediates in config before).

GauGau
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
How to delete intermediate size pictures ?
« Reply #2 on: November 05, 2003, 09:07:37 pm »

I don't find what i want...

there is "Delete original size photos" or "Delete titles" or "update thumbnail" or "upade full sized pictures" but nothing like "delete intermediates pictures..."

Help please.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
How to delete intermediate size pictures ?
« Reply #3 on: November 05, 2003, 11:03:21 pm »

hm, you could always delete the files called "normal_XXX.jpg", but that's probably not what you had in mind...

GauGau
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
How to delete intermediate size pictures ?
« Reply #4 on: November 06, 2003, 05:06:14 pm »

Ok ...

... can you explain how Cpg use the " albums/ " directory !?

I have 141 folders (for 175 pictures) with stranges names like wpw-01, wpw-05, wpw-32, wpw-fd ...

(i use the xp wizard to publish my pictures).

... is there a way to easily find and destroy all intermediates pictures ?

Thanks,
Michael.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
How to delete intermediate size pictures ?
« Reply #5 on: November 06, 2003, 06:58:40 pm »

the intermediate files are stored together in the same folder as the fullsize pics and the thumbnails - they just differ by prefix. Be default, the prefix is "normal_" (but can be changed in config). This means: if you uploaded foobar.jpg as fullsize pic, you'll find in the same folder a file called thumb_foobar.jpg and normal_foobar.jpg. If you set in the config that you're not going to have intermediates anymore, you can savely go through the folders and delete all files called "normal_*.jpg" (you could of course write a little php script that'll do this job for you).

GauGau
Logged

wormie_dk

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 73
How to delete intermediate size pictures ?
« Reply #6 on: November 06, 2003, 10:25:18 pm »

If you disable intermediate pictures in the config you can safely delete all pics starting with normal_

If it is a general wish I could add an option to delete intermediate pictures  :)
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
How to delete intermediate size pictures ?
« Reply #7 on: November 06, 2003, 11:29:58 pm »

Ok Gaugau, but can you explain why i've so many folders !!

i've send my 175 pictures in 3 or 4 times, using Xp Wizard and Cpg has created 141 folders !?

Thanks,
Michael.
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
Replie to Wormie_dk
« Reply #8 on: November 06, 2003, 11:33:02 pm »

I think i'll be great to add this to "resize pictures" module !

And a function to clean the "albums" folder : it'll search for any orphan picture (a normal_ or thumb_ picture "alone" ) !!

I'm not a good programmer but i guess that it will be easy for a programmer like you !  :wink:
Logged

wormie_dk

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 73
How to delete intermediate size pictures ?
« Reply #9 on: November 06, 2003, 11:51:17 pm »

Quote from: "mika2k3"
Ok Gaugau, but can you explain why i've so many folders !!

i've send my 175 pictures in 3 or 4 times, using Xp Wizard and Cpg has created 141 folders !?

Thanks,
Michael.

See here  http://forum.coppermine-gallery.net/index.php?topic=1052&highlight=
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
SOLVED !!
« Reply #10 on: November 07, 2003, 12:46:41 am »

Ok, thanks for that !!

BUT ...  :oops:

It there a way to move pictures from a folder to another one ... whitout lost informations in Cpg ?

Thanks,
Mika.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
How to delete intermediate size pictures ?
« Reply #11 on: November 07, 2003, 08:29:06 am »

this has been discussed a million times over: the database keeps track of your pics, the human doesn't have to. Coppermine let's you move pics, albums, categories (inside the database). The files stay where they are. We (the dev team) won't support moving files untill somebody comes up with a real good explanation why it should be necessary.

In other words: no, there's no such feature, and there probably won't be such a feature in the future.

GauGau
Logged

mika2k3

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • http://www.ecrantotal.org
How to delete intermediate size pictures ?
« Reply #12 on: November 07, 2003, 10:23:31 am »

Ok  i've understood !

Thanks a lot for your suppot and a long life to Cpg !!!!  :lol:

Mika.
Logged

harmzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
How to delete intermediate size pictures ?
« Reply #13 on: January 21, 2004, 08:33:26 pm »

Quote from: "mika2k3"
I don't find what i want...

there is "Delete original size photos" or "Delete titles" or "update thumbnail" or "upade full sized pictures" but nothing like "delete intermediates pictures..."

Help please.


ermmm sorrry to have blonde moment but where are these features!  :roll:  :(
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
How to delete intermediate size pictures ?
« Reply #14 on: January 21, 2004, 08:42:23 pm »

in the 'resize pictures' utility, which you can get to from the admin menu.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 18 queries.