Hi,
Just installed. Did create a folder in the images directory called "unused" with the same permissions as the image directory and get the following for all the images checked:
The file black.jpg could not be moved to unused/black.jpg
Ideas on what to fix?
Image Cleaner
Can not move images - Image Cleaner
-
artfulweb
- Contributor
- Posts: 184
- Joined: Thu Oct 29, 2020 12:34 pm
- Phoenix Version: v1.1.0.6
- Contact:
Re: Can not move images
Just installed and tested this addon. Had the same issue, but that went away when I made the /images/unused folder. Folder permissions are set at 755. Image permissions are 644.
Perhaps the image(s) you want to move has the wrong permissions?
Perhaps the image(s) you want to move has the wrong permissions?
-
GetSirius
- Member
- Posts: 50
- Joined: Wed Mar 17, 2021 7:15 pm
- Phoenix Version:
- Contact:
Re: Can not move images
You shouldn't have to create the directory, it should be automagically created.
Check out my addons - app.php/addons/author/frankl/contributions
-
frankl
- Builder
- Posts: 159
- Joined: Tue Feb 23, 2021 8:39 pm
- Phoenix Version: v1.1.0.4
- Contact:
Re: Can not move images
“Well, sometimes the magic works. Sometimes, it doesn't”frankl wrote:You shouldn't have to create the directory, it should be automagically created.
OK, while re-checking permissions of my /images directory (755), I notice there is a new directory: /testshop/testshop/images/unused/ with nothing in it. All deleted images were moved to /testshop/images/unused/ that I had to create.
-
GetSirius
- Member
- Posts: 50
- Joined: Wed Mar 17, 2021 7:15 pm
- Phoenix Version:
- Contact:
Re: Can not move images
Thank you so much for the feedback.
I believe the errors you experienced are due to the inconsistent use of DIR_WS_CATALOG in the adon. Sometimes paths were called using
DIR_FS_CATALOG . DIR_WS_CATALOG . 'images/
and other times
DIR_FS_CATALOG . 'images/
I've updated and reuploaded the addon.
I believe the errors you experienced are due to the inconsistent use of DIR_WS_CATALOG in the adon. Sometimes paths were called using
DIR_FS_CATALOG . DIR_WS_CATALOG . 'images/
and other times
DIR_FS_CATALOG . 'images/
I've updated and reuploaded the addon.
Check out my addons - app.php/addons/author/frankl/contributions
-
frankl
- Builder
- Posts: 159
- Joined: Tue Feb 23, 2021 8:39 pm
- Phoenix Version: v1.1.0.4
- Contact: