Page 2 of 2
Re: cannot upload images from folder for products
Posted: Sat Jul 16, 2016 7:45 am
by newcomes852
Any comments which one you like and what changes should be made?
Re: cannot upload images from folder for products
Posted: Sat Jul 16, 2016 3:27 pm
by bestshop24h
who is the opencart expert?
help
i think this is a very basic and useful function,as when you have many pictures,you would like to put them in different folder ,not directly at root of image manager,right?
thanks
Re: cannot upload images from folder for products
Posted: Sat Jul 16, 2016 7:42 pm
by bestshop24h
I have tried this on a fresh installed opencart2.2,
there is also such problem.
Re: cannot upload images from folder for products
Posted: Sat Jul 16, 2016 7:45 pm
by straightlight
bestshop24h wrote:I have tried this on a fresh installed opencart2.2,
there is also such problem.
This issue has been addressed on multiple topics which even v2.3 beta still carries on unfortunately. An official fix would have to be released eventually.
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 3:25 pm
by iroka
Am not able to add products Pictures now. If I click on the image icon it will turn blank.
Please how do I resolve this issue?
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 5:54 pm
by tommellor
I have managed to fix this issue.
Inside admin/view/javascript/common.js
change
Code: Select all
$('#modal-image a.thumbnail').on('click', function(e) {
to
Code: Select all
$('#modal-image').on('click', 'a.thumbnail', function(e) {
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 7:15 pm
by straightlight
Great fix. This topic should be moved to the bug reports.
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 11:21 pm
by bestshop24h
tommellor wrote:I have managed to fix this issue.
Inside admin/view/javascript/common.js
change
$('#modal-image a.thumbnail').on('click', function(e) {
to
$('#modal-image').on('click', 'a.thumbnail', function(e) {
thanks so much !,Tommellor,you are the opencart expert!
it does work!
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 11:28 pm
by straightlight
Another similar case for the charts from admin/view/template/dashboard/chart.tpl file:
replace:
Code: Select all
$('#range a').on('click', function(e) {
with:
Code: Select all
$('#range').on('click', 'a', function(e) {
I did seen a post on the forum recently that users could not click on a specific feature on the dashboard chart page but I can't retrace it. However, this may fix it.
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 11:31 pm
by straightlight
Another one I found in the admin/view/template/user/api_form.tpl file when using the admin order API forms.
Find:
Code: Select all
$('#session button').on('click', function(e) {
replace with:
Code: Select all
$('#session').on('click', 'button', function(e) {
Re: cannot upload images from folder for products
Posted: Mon Jul 18, 2016 11:32 pm
by straightlight
Not as important for this one but useful to know. In install/view/template/common/common_left.tpl file,
find:
Code: Select all
$('#language a').on('click', function(e) {
replace with:
Code: Select all
$('#language').on('click', 'a', function(e) {
Re: cannot upload images from folder for products
Posted: Sat Jul 30, 2016 6:31 am
by straightlight
An official fix for the file manager controller has been released as well:
http://forum.opencart.com/viewtopic.php ... 80#p631280 . Try it to see if that solves all the issues with the file manager from now on.