[Images Upload and Gallery plugin] Images handling

Please Log in or Create an account to join the conversation.

#
Hello :)

After removing the image from the article, physically it remains on the server (directories /src and /thumb). After some time, there will be an excellent dump of images, relevant and not. What about the option - the deleted images from articles also deleted from the /src and /thumb?

Is it possible to make load the images for each article into a separate directory? The name of the directory, for example, can be as the ID of the article.

Please Log in or Create an account to join the conversation.

#
Hello, Remi.

1) Yes, it will be fixed in the next release.

2) Yes, I can add this feature as an option. How you look also on article alias instead of id?

Please Log in or Create an account to join the conversation.

#
Why not? As option, but there is a nuance. What happens if alias will be changed? Tracking for changes of article alias is additional work.

đťaybe is worth to pay attention about deleting the article (finally, from trash)? What will happens with uploaded pictures and thumbnails?

Please Log in or Create an account to join the conversation.

#
Hello, Remi

1) Yes, maybe it is better to use ids, maybe it will be hashed item id, e.g. e0a70f72bdae9885bfc32d7cd19a26a1
But, usually, we create an article title and alias just one time. Even we change it, then we can re-upload an images.

2) Sure, it should delete all images of the article. It is already in the plugin, but it was some issue with paths which will be fixed in next release.

Please Log in or Create an account to join the conversation.

#
Hello, molotov

I can not say that hash as name is very friendly to know quickly what the damn directory on my server is?
So we will have to look inside the one/two/n folders... etc.

Sometimes users change article alias (about once a month/two, in my case).

Please Log in or Create an account to join the conversation.

#
Hello, Remi.

Ok, please you can download fresh version of the plugin. Then, use new parameter 'Separate folder for each article'.

Please Log in or Create an account to join the conversation.

#
Thanks :)
Notes:
after deleting pictures empty directory remains;
i think, your need check the path to the thumbs;
and about gallery position checkboxes left center right. How it work?

Attachments:

Please Log in or Create an account to join the conversation.

#
Hello, Remi.

Thanks for checking.

Ok, please try to download the plugin once again.

Gallery position parameters just applies extra styles for gallery block, it is float: left; etc.