Page 1 of 1
deleting pictures doesn't delete seem physically from server
Posted: 26 Nov 2008, 18:11
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
Re: deleting pictures doesn't delete seem physically from server
Posted: 26 Nov 2008, 20:00
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
Re: deleting pictures doesn't delete seem physically from server
Posted: 26 Nov 2008, 21:33
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) ???!!!!
Re: deleting pictures doesn't delete seem physically from server
Posted: 28 Nov 2008, 15:57
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...
Re: deleting pictures doesn't delete seem physically from server
Posted: 28 Nov 2008, 18:06
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
Re: deleting pictures doesn't delete seem physically from server
Posted: 02 Dec 2008, 14:46
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
Re: deleting pictures doesn't delete seem physically from server
Posted: 04 Dec 2008, 13:38
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???
Re: deleting pictures doesn't delete seem physically from server
Posted: 05 Dec 2008, 23:09
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...

so this should be some other option... but I only thinking about it, still no idea how to do it...
Jan