automatically delete uploaded (non-used) files

Before you ask see the Phoca Gallery User Manual
gjhvs
Phoca Member
Phoca Member
Posts: 11
Joined: 28 Apr 2013, 13:56

automatically delete uploaded (non-used) files

Postby gjhvs » 28 Apr 2013, 14:03

Hi there,

For my site I have NOT enabled download, so my visitors cannot DOWNLOAD my original pictures, only view them.

Example: I upload my original pictures to folder 'example', save them and phoca automatically places a watermark on them.
These pictures with watermark are saved in 'example/thumbs'. These are the pics the visitors will see.

BUT in the folder 'example' there are still my original pictures. I don't need these files at the end. Is there a way to delete these original uploaded pictures at the end, automatically? Is there such an option?


User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 5658
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: automatically delete uploaded (non-used) files

Postby Benno » 28 Apr 2013, 19:57

Hi,
BUT in the folder 'example' there are still my original pictures. I don't need these files at the end. Is there a way to delete these original uploaded pictures at the end, automatically? Is there such an option?

No, there is no such option, because the original images are needed in some cases (e.g. exif infos & geotagging)
You can delete the original images manually, by FTP.

Kind regards,
Benno

gjhvs
Phoca Member
Phoca Member
Posts: 11
Joined: 28 Apr 2013, 13:56

Re: automatically delete uploaded (non-used) files

Postby gjhvs » 11 May 2013, 10:29

Hi Benno,

Thanks for your reply.
When I delete the original files the frontend is OK.
In the backend eveything also works good, but I don't see the little thumbnails and filenames anymore.
Not that big a problem, but is there a way so that I can see those thumbnails + filesnames again in the backend?

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 5658
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: automatically delete uploaded (non-used) files

Postby Benno » 14 May 2013, 21:56

Hi,
Not that big a problem, but is there a way so that I can see those thumbnails + filesnames again in the backend?

You can not see the filenames, because they are taken from the original images (which are deleted now), but I have no idea why the small thumbnails are not longer visible in backend.. :idea:

Kind regards,
Benno

gjhvs
Phoca Member
Phoca Member
Posts: 11
Joined: 28 Apr 2013, 13:56

Re: automatically delete uploaded (non-used) files

Postby gjhvs » 26 Jul 2013, 16:10

Oops... it's been a long since I uploaded new photos to my website and ran into this "problem" again...

Is there someone from Phoca.cz who can help me?
The original uploaded files on my site are not used... it is taking up webspace so I would like to delete them.

I can delete them > the photogallery keeps working in the frontend.
Only in the backend when I go the Phoca compenent and choose Images the thumbail and file title are gone ...
Is there a solution for this...

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 36670
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: automatically delete uploaded (non-used) files

Postby Jan » 28 Jul 2013, 19:16

Hi, see similar posts in this forum, you can delete the original images but then you will be limited - some features still use them (to reload thumbnails, to compute size of image, to download image, etc. etc., see:
http://www.phoca.cz/documents/2-phoca-g ... ntegration (see the warning box)
Jan
If you find Phoca extensions useful, please support the project


Return to “Phoca Gallery”

Who is online

Users browsing this forum: Bing [Bot] and 4 guests