I am working with a strange quirk with the default image manager (I tried installing another image manager, and while it worked, it broke other parts of the site).
When I try and post an image to the description portion of a product or information page, I can pull up the manager and select the image. But when I click to select it, it just opens the image itself in the window. I can add images just fine to the image section of the products, just not in the html description area.
The strange thing? If I chose an image in the default directory, it will insert just fine. This only happens when an image is in a subdirectory.
I have just recently upgraded from 2.0.1.1 to 2.2 (I paid Qphoria to do the upgrade for me).
Any thoughts?
Michael Bielaczyc
http://www.aradanicostumes.com
http://www.aradani.com
Michael Bielaczyc
http://www.aradanicostumes.com
http://www.aradani.com
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
/oc22/image/catalog/... Section, any other Click in one of the Image Subdirectories will result in
opening the image in my Windows ACDSee32 Image Viewer!

Ernie
## v2.2.0.0 (02.03.2016)
just newly installed today !
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Client is really frustrated!
If an image has .JPG or is uploaded into a sub folder, it loads into a lightbox instead of being added to the WYSIWYG text area.
I did not see any javascript errors in the browser console.
This does not happen in the IMAGE tab of products or categories - using the blue button, it only happens when the image loaded is called from the WYSIWYG in the text editor.
https://github.com/opencart/opencart/co ... b7e4e9142a
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Michael Bielaczyc
http://www.aradanicostumes.com
http://www.aradani.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Got the same problem, but this doesn't work for me..straightlight wrote:See if this fix solves the issue: http://forum.opencart.com/viewtopic.php ... er#p625218 . The last posted user confirmed these modifications as functional.
Can you elaborate that a little?R_D wrote:Got the same problem, but this doesn't work for me..straightlight wrote:See if this fix solves the issue: http://forum.opencart.com/viewtopic.php ... er#p625218 . The last posted user confirmed these modifications as functional.
Which OC version are you also using?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I've done the recommendations above to clear any spaces from the filenames. The spaces are gone when using the vqmod but still when you want to insert an image in the productinfo and double-click on the image to insert it, it opens the image instead of inserting it in the productinfo box.
oc22/admin/view/javascript/common.js
Line 152, in my OC v.2.2.0.0:
$('#modal-image a.thumbnail').on('click', function(e) {
with this line:
$('#modal-image').delegate('a.thumbnail', 'click', function(e) {
it works perfect !

Ernie
PS. And this may help, if someone uses 'illegal' white space image File Names:
http://forum.opencart.com/viewtopic.php ... 84#p625218
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Not on my storeIP_CAM wrote:after replacing this line, in the:
oc22/admin/view/javascript/common.js
Line 152, in my OC v.2.2.0.0:
$('#modal-image a.thumbnail').on('click', function(e) {
with this line:
$('#modal-image').delegate('a.thumbnail', 'click', function(e) {
it works perfect !![]()
Ernie

By the way: it only does that with .png's it does insert .jpg files
If you go to your admin - > systems - > settings - > edit store - > server tab - > Allowed File Extensions, do you see the png extension on the list?R_D wrote:Not on my storeIP_CAM wrote:after replacing this line, in the:
oc22/admin/view/javascript/common.js
Line 152, in my OC v.2.2.0.0:
$('#modal-image a.thumbnail').on('click', function(e) {
with this line:
$('#modal-image').delegate('a.thumbnail', 'click', function(e) {
it works perfect !![]()
Ernie
By the way: it only does that with .png's it does insert .jpg files
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes it is on the allowed liststraightlight wrote:If you go to your admin - > systems - > settings - > edit store - > server tab - > Allowed File Extensions, do you see the png extension on the list?R_D wrote:Not on my storeIP_CAM wrote:after replacing this line, in the:
oc22/admin/view/javascript/common.js
Line 152, in my OC v.2.2.0.0:
$('#modal-image a.thumbnail').on('click', function(e) {
with this line:
$('#modal-image').delegate('a.thumbnail', 'click', function(e) {
it works perfect !![]()
Ernie
By the way: it only does that with .png's it does insert .jpg files

Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
If not, in your admin - > systems - > tools - > error log page, do you see any latest event regarding the filemanager.php file?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You are showing a picture of multiple pictures for the product, but that is not the problem. The problem is to insert the images in the product description using the WYSIWYG editorIP_CAM wrote:you possibly use some Custom Image Manager, or something else does not work, as it should, by default at least.![]()
Ernie
Users browsing this forum: No registered users and 76 guests