Suppose you have a Products table with a Multi picture uploader. Creating images is going fine, but when you edit a record you don't see the uploaded images. In ..\trongate_filezone\views\uploader there are these 2 lines:
Because the BASE_URL is already in $previously_uploaded_file['directory'] $file_path becomes i.e.
"http://localhost:8090/trongate3//http://localhost:8090/trongate3/news_module/products_pictures/1/hammer.jpg"
My solution: replace the mentioned 2 lines by
Kr.
Albert
Previously uploaded images not shown
3 years ago
3 years ago
#1
3 years ago
#2
Hello. I apologise for that. I think it was my fault.
On the 14th January, I hard coded 'tasks' (or something like that) into the single picture image uploader. So, instead of being a dynamic directory, it was uploading images to a single directory.
This was my mistake. I've fixed it. Thankfully it wasn't around for too long. However, I'll figure out a way to let people know.
Once again, I apologise for that.
If you or anyone runs into any problems that appear to be impossible to solve because of this then let me know and I'll be glad to help, personally.
On the 14th January, I hard coded 'tasks' (or something like that) into the single picture image uploader. So, instead of being a dynamic directory, it was uploading images to a single directory.
This was my mistake. I've fixed it. Thankfully it wasn't around for too long. However, I'll figure out a way to let people know.
Once again, I apologise for that.
If you or anyone runs into any problems that appear to be impossible to solve because of this then let me know and I'll be glad to help, personally.