deleting pictures doesn't delete seem physically from server

Phoca Gallery - image gallery extension
RUSirius
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2008, 01:23

deleting pictures doesn't delete seem physically from server

Post by RUSirius »

hi,

i have deleted some files in a folder/category via "images" in phoca gallery but when i open the folder they are still there, it is annoying because if i now want to upload new pictures, the deleted ones are still in the list.


what can i do to delete pictures without the need to ftp?


best regards
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: deleting pictures doesn't delete seem physically from server

Post by caro84g »

Hi,

Phoca Gallery uses only the original pics to create thumbnails from. In the parameters of phocagallery you can set whether the thumbnails must be 'cleaned' when you delete the images. Phoca Gallery will never delete the originals. You must do that yourself either via FTP or via the Joomla! Media Manager.

Regards,

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
RUSirius
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2008, 01:23

Re: deleting pictures doesn't delete seem physically from server

Post by RUSirius »

ok, thank you, but that ist very awkward, wouldn't it be possible to get an option like that option for the thumbs (i.e. delete all unused pictures) ???!!!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: deleting pictures doesn't delete seem physically from server

Post by Jan »

the problem is, you can upload your original images many ways:
- ftp
- media manager
- other manger
- phoca gallery

so Phoca Gallery doesn't know which images were uploaded e.g. via other methods, it only manipulate with files it has created itself (thumbnails) ... yes there can be some function to recognize and delete unused images but I think it will take a lot of CPU and RAM (now if you enable clean thumbnails function, you can have problem with CPU and RAM on your server if you have a lot of images, because searching files is slow) Next problem is there can be unused images which you didn't add into gallery yet, etc...
If you find Phoca extensions useful, please support the project
RUSirius
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2008, 01:23

Re: deleting pictures doesn't delete seem physically from server

Post by RUSirius »

that was all right and a very good feature in phoca gallery, but perhaps it is possible to give the gallery the rights to delete pictures physically when i delete them from the gallery.
this would be possible i think, because the gallery-folder structure was in every installation the same (/images/phocagallery/) ithink and therefore phoca gallery could delete all pictures in the folder and subfolders if i delete them from joomla backend in phoca gallery -> pictures.
what is the problem?
of course there are many ways to upload pictures to the gallery, but only one "right" way to delete them from the gallery - phoca gallery -> pictures select the pictures to delete.

please give the option to work like that. it would be much more easier for me to handle my 1.000+ pictures on the following site:

http://www.vitoria-es-brasil.com/index. ... Itemid=505

nevertheless i like the gallery very much and it has very much good features!


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

Re: deleting pictures doesn't delete seem physically from server

Post by Jan »

the next problem is, e.g. 3 images in some categories can use only one physically image on the server (image + thumbnails)... so in this case some new if clause + search for another images which are using this original file can slow down the system like the clean function which is there ... I will take a look at it (added into a feature request list)

Jan
If you find Phoca extensions useful, please support the project
teddyfresco
Phoca Member
Phoca Member
Posts: 16
Joined: 30 Jun 2008, 17:59

Re: deleting pictures doesn't delete seem physically from server

Post by teddyfresco »

Jan, I see that your code is developed like this and is difficult to change, but original photos (these days usually over 3MB) are going to require more and more space for larger galleries...
What about allowing users to store images (originals or resized) on other storage servers, e.g. Amazon S3, Amazon storage service (I say amazon only because it is pay per use), cheaper that the one which hosts our website scripts???
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: deleting pictures doesn't delete seem physically from server

Post by Jan »

Hi, Phoca Gallery is the type of gallery where you are using own images and own space... you can e.g. resize images on your PC (from 3MB to 200 KB e.g.) and upload to server... this is the solution for now... for future I am thinking about some new feature to get the images from other gallery, from other server... :idea: so this should be some other option... but I only thinking about it, still no idea how to do it...

:(

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