Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.
3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Image Upload
-
g0lang
- Users

- Posts: 3
- Joined: 16 Nov 2019, 15:34
Re: Image Upload
Or, we did not need to clean the sub-dir, because it may be reused.
I thought again, cron is not a good solotion. we could just check the parent dir if a file has been removed. then, we check the parent dir is empty or not,
and loop until we reached the parent dir named 'img-files', we stop the checking.
I thought again, cron is not a good solotion. we could just check the parent dir if a file has been removed. then, we check the parent dir is empty or not,
and loop until we reached the parent dir named 'img-files', we stop the checking.
-
dmzx
- Founder

- Posts: 6469
- Joined: 13 Jan 2014, 21:45
Re: Image Upload
Did the PR on Github, will update the extension download also here.g0lang wrote: 22 Nov 2019, 02:47 or, we did not need to clean the sub-dir, because it may be reused.
I thought again, cron is not a good solotion. we could just check the parent dir if a file has been removed. then, we check the parent dir is empty or not,
and loop until we reached the parent dir named 'img-files', we stop the checking.
I think Cron is also not the good option, parent dir checking is indeed the better option to check and remove. will check it also.
-
pierre
- New user

- Posts: 2
- Joined: 06 Dec 2019, 17:50
Re: Image Upload
Hello,
excuse my aproximative English.
Is it possible to replace the weight of images that is in mo by ko?
Thanks in advance
excuse my aproximative English.
Is it possible to replace the weight of images that is in mo by ko?
Thanks in advance
-
Scanialady
- Users

- Posts: 310
- Joined: 06 Apr 2015, 18:04
Re: Image Upload
German translation files updated for 1.0.9
-
If you want to get German translations for extensions: ask me.
If you want to get German translations for extensions: ask me.
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Image Upload
if you want not to lose your previous picutes just don't delete date and upload current version,then delete folder img-files and re-name folder files to img-files
Feed like a disease
And bring them to their knees
They'll pay for their deceit
And bring them to their knees
They'll pay for their deceit
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Image Upload
found problem
some images says: PAGE_NOT_FOUND
event i clear productuion folder
clear the cache
-
dmzx
- Founder

- Posts: 6469
- Joined: 13 Jan 2014, 21:45
Re: Image Upload
ivailo95 wrote: 14 Dec 2019, 15:17![]()
found problem
some images says: PAGE_NOT_FOUND
event i clear productuion folder
clear the cache
No you cannot do it like this.ivailo95 wrote: 14 Dec 2019, 13:34 if you want not to lose your previous picutes just don't delete date and upload current version,then delete folder img-files and re-name folder files to img-files
Read the note in first post.
-
martin
- Admin

- Posts: 5106
- Joined: 06 Apr 2014, 16:12
Re: Image Upload
Just incase you get lost on your trip to first post il put it here.
Note: Keep in mind if you update the old images still will be in files folder, so url to those images will point to files folder. just leave the files folder so they wont break. I did empty the db image_upload table so no broken images are shown in UCP and ACP. And it will start again when uploading files. This is only when you have already installed this extension

-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Image Upload
well i need to leave name of the folder files and also leave folder img-filesmartin wrote: 14 Dec 2019, 20:11 Just incase you get lost on your trip to first post il put it here.
Note: Keep in mind if you update the old images still will be in files folder, so url to those images will point to files folder. just leave the files folder so they wont break. I did empty the db image_upload table so no broken images are shown in UCP and ACP. And it will start again when uploading files. This is only when you have already installed this extension
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Image Upload
I did as note says but it's broken images (old) in ACP and UCP
-
martin
- Admin

- Posts: 5106
- Joined: 06 Apr 2014, 16:12
Re: Image Upload
If you did as it says then it will work these exts are tested b4 you get them.
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Image Upload
i know but still broken images event i left img-files and files foldersmartin wrote: 15 Dec 2019, 15:03 If you did as it says then it will work these exts are tested b4 you get them.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
