Announcement

#1 2020-10-28 02:18:39

redrumshiloo
Member
2020-10-28
3

photos stored in 2 locations, taking up double the disk space

Hello/Hi/Greetings,

I have uploaded photos into my galleries using the piwigo admin panel, and found that every photo uploaded is stored twice.   In /upload and in  _data/i/upload.
Why is this, and how to stop it?

Piwigo version: 2.10.2
PHP version:
MySQL version:
Piwigo URL: http://

Offline

 

#2 2020-10-28 02:30:13

executive
Member
2017-08-16
1099

Re: photos stored in 2 locations, taking up double the disk space

/upload contains original images
/_data is a cache generated by Piwigo with optimized images

you can't stop it because it's necessary for Piwigo to work

Offline

 

#3 2020-10-28 02:41:39

redrumshiloo
Member
2020-10-28
3

Re: photos stored in 2 locations, taking up double the disk space

For real?  What a terrible system.   Now I need to buy doulble the disk space, or find something else.

Offline

 

#4 2020-10-28 05:18:18

executive
Member
2017-08-16
1099

Re: photos stored in 2 locations, taking up double the disk space

For real. It's a good system. You should do some research before making ignorant statements like that. I would be very suprised if other software didn't use a similar system

Images need to be resized for optimized browsing. If Piwigo was sending full size images everytime a visitor viewed it, then not only would it be very slow, but it would consume too much server bandwidth. Resizing images is normal practice on the web.

You do not need double the disk space. My cache is only 30% of my Piwigo folder size. The cache can be configured in the Piwigo options.

I recommend finding a host with unlimited storage.

Last edited by executive (2020-10-28 05:19:05)

Offline

 

#5 2020-10-28 17:20:30

redrumshiloo
Member
2020-10-28
3

Re: photos stored in 2 locations, taking up double the disk space

It's not an ignorant statement..  using 30%-100% more diskspace than what was uploaded is terrible.  End of discussion.  When you upload photos, you should have the option to "optimize" them, and what to with them.  It's far more logical to display the photos as they were uploaded, or to at least have that option.

Offline

 

#6 2020-10-28 18:30:07

executive
Member
2017-08-16
1099

Re: photos stored in 2 locations, taking up double the disk space

Best of luck to you.

The discussion is over everybody.

Offline

 

#7 2020-10-29 01:43:19

piwent
Member
2020-10-24
92

Re: photos stored in 2 locations, taking up double the disk space

I'm very new to this software and how it stores things. Is it correct that if you don't use the /gallery/ and sync method and instead just use the web uploader, then you avoid the problem that the OP mentions? As I understand, the software needs the original file and then at least a couple of other versions of it (web size and thumbnail) in order to function. Is the only difference between using the gallery folder and the web uploader where the original photo is stored? Meaning with the web uploader all images are stored in the uploads directory, whereas with the gallery folder method the original is stored in the gallery folder and then only the other versions are stored in the upload directory. Hope that makes sense.

I'm just guessing, but it sounds like the op is mostly interested in a private gallery for personal use and doesn't realize that for websites it is standard that multiple versions of images are created. This is also the case with wordpress.

If someone wants just a personal website for one admin user, then I think piwigo.com is the natural solution, eh? Because it is unlimited storage.

Offline

 

#8 2020-10-29 03:27:07

executive
Member
2017-08-16
1099

Re: photos stored in 2 locations, taking up double the disk space

No. The method does not matter.

Offline

 

#9 2020-10-29 03:32:06

piwent
Member
2020-10-24
92

Re: photos stored in 2 locations, taking up double the disk space

@executive So when they say...

redrumshiloo wrote:

I have uploaded photos into my galleries using the piwigo admin panel, and found that every photo uploaded is stored twice.   In /upload and in  _data/i/upload.

The original isn't actually stored twice?

Offline

 

#10 2020-10-29 04:06:36

executive
Member
2017-08-16
1099

Re: photos stored in 2 locations, taking up double the disk space

executive wrote:

/upload contains original images
/_data is a cache generated by Piwigo with optimized images

look for yourself

Last edited by executive (2020-10-29 04:09:56)

Offline

 

#11 2020-10-29 04:10:12

piwent
Member
2020-10-24
92

Re: photos stored in 2 locations, taking up double the disk space

@executive Oopse! Missed that. Thanks.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact