Manage space and quota

Phoca Gallery - image gallery extension
serged
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 25 Apr 2022, 20:50

Manage space and quota

Post by serged »

Hello
I have given for each users a quota of 150Mb for there galleries

So I take an exemple

The user upload this file _de10028_dxo.jpg , 1920*1920 1471.18 Mb

So Phoca gallery , create in thumbs folder 3 files

phoca_thumb_l__de10028_dxo.jpg 1920*1920, 298,45
phoca_thumb_m__de10028_dxo.jpg 256*192, 9,77
phoca_thumb_s__de10028_dxo.jpg 100*100, 3,63

What it is used to calculate the quota for the user , Original file or Orginal + thumbs ? :x :x

For this user first folder is 170 Mb and thumbs folder is 54 Mb. So 1rst folder is already greated than the quota , how the user have exceeded the quota ? :o :o

Is it possible to reduce the space occupied by the original file directly by phoca gallery ? :idea: :idea:


Thanks for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48726
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manage space and quota

Post by Jan »

Hi, as written in the description of the parameter, only original images are counted into the quota. It does not matter where the images are stored but if they are uploaded by user and used by him/her. Then all images which are assigned to user are countent into quota.

What do you mean with reducing the space of original images? The only way is to not allow to upload large images.

Jan
If you find Phoca extensions useful, please support the project
serged
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 25 Apr 2022, 20:50

Re: Manage space and quota

Post by serged »

Ok thank you for your response
I undestand better who it is calculate
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48726
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manage space and quota

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply