Phoca
Phoca Seal

automatically delete uploaded (non-used) files

Before you ask see the Phoca Gallery User Manual

automatically delete uploaded (non-used) files

Postby gjhvs on 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?
gjhvs
Phoca Newbie
Phoca Newbie
 
Posts: 5
Joined: 28 Apr 2013, 13:56

Google Ads


Re: automatically delete uploaded (non-used) files

Postby Benno on 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
If a problem has been solved, please post this, because your solution may also be important for other users. Thank you!
User avatar
Benno
Phoca Hero
Phoca Hero
 
Posts: 4205
Joined: 04 Dec 2008, 11:58
Location: Germany

Re: automatically delete uploaded (non-used) files

Postby gjhvs on 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?
gjhvs
Phoca Newbie
Phoca Newbie
 
Posts: 5
Joined: 28 Apr 2013, 13:56

Re: automatically delete uploaded (non-used) files

Postby Benno on 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
If a problem has been solved, please post this, because your solution may also be important for other users. Thank you!
User avatar
Benno
Phoca Hero
Phoca Hero
 
Posts: 4205
Joined: 04 Dec 2008, 11:58
Location: Germany

Re: automatically delete uploaded (non-used) files

Postby gjhvs on 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...
gjhvs
Phoca Newbie
Phoca Newbie
 
Posts: 5
Joined: 28 Apr 2013, 13:56

Re: automatically delete uploaded (non-used) files

Postby Jan on 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 some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32435
Joined: 10 Nov 2007, 18:23
Location: Czech Republic


Return to Phoca Gallery

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Google Adsense [Bot], Yahoo [Bot] and 7 guests