Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-07-17 12:32:28

revellamus
Guest

Where are the photos stored?

I've just installed piwigo now.  It has asked for a database and I have provided one.  I have uploaded a number of photos and I don't see them in the GALLERIES directory anywhere.  Can you confirm where they get stored please?  I don't want to find I am suddenly going to have to buy extra database capacity so I am hoping they aren't stored in the DB itself (that is just for the metadata).

Thanks!

#2 2012-07-17 12:39:36

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11717
Website

Re: Where are the photos stored?

Hi revellamus,

Of course photos aren't stored in the database. You will find them in the "upload" directory.


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#3 2012-07-17 12:40:26

T00kie
Translation Team
Registered: 2011-05-06
Posts: 62
Website

Re: Where are the photos stored?

There are two ways in Piwigo to create albums. Apparently you have created something what is called 'virtual' album and photos are stored in /_data/i/upload/... etc.

'galleries' directory is used when you create physical albums.

Offline

#4 2012-07-17 12:44:36

geoffschultz
Member
Location: Marlborough, MA, USA
Registered: 2012-07-01
Posts: 148
Website

Re: Where are the photos stored?

If you create a "physical" gallery by uploading via FTP, your original images are stored under the galleries directory.  If you upload the files via the admin page or ploader, you're creating a "virtual" gallery and the images are stored under _data/i/.  I strongly suggest that you create virtual galleries due to issues with physical galleries.

The database doesn't contain any of the actual images, just information about how the gallery is constructed, keywords, etc.

-- Geoff

Offline

#5 2012-07-17 13:29:24

revellamus
Guest

Re: Where are the photos stored?

THANKS!  That was the answer I was hoping for.

And there they are ... all organised in the UPLOAD directory.

p.s. not under the "_data" tree structure.

p.p.s. best product of about 6 I tried.  Good job you guys/gals!

#6 2012-07-17 13:51:33

T00kie
Translation Team
Registered: 2011-05-06
Posts: 62
Website

Re: Where are the photos stored?

revellamus wrote:

p.s. not under the "_data" tree structure.

yup, you're right.. there are only thumbnails :)

Offline

#7 2012-07-17 14:13:24

geoffschultz
Member
Location: Marlborough, MA, USA
Registered: 2012-07-01
Posts: 148
Website

Re: Where are the photos stored?

T00kie wrote:

revellamus wrote:

p.s. not under the "_data" tree structure.

yup, you're right.. there are only thumbnails :)

Clearly you haven't generated the multiple sized images yet...

Offline

#8 2012-07-17 15:07:00

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11717
Website

Re: Where are the photos stored?

Photos are stored under "upload" but the multiple size cache is under "_data/i". You don't need to backup "_data".


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013