1. Thomas Lombert
  2. Product Short Description
  3. Friday, April 22 2022, 09:53 PM
  4.  Subscribe via email
Hi

I got an error in some browser/computer there product image is "hidden". And after some search it looks it is the "Include module css" in "module settings" that somehow the "lazy" function is not working as it should.

Thats is happening is then this function is active, in some browsers/computers the main product image (in product page) is not show. In category and in show all picture function the main picture is show.

This code, there is the height '0' and the picture is hidden:


.owc_page_label_li img {
height:
}


So if I turn of the whole module it works (all time), and it also works if I just disable the "Include module css". So that function is conflicting with something in some browser/computers/phone.

I got a solution from one other developer I asked, as I first fought this was a problem with one of his modules. It was to (I guess hardcode) this code somewhere in your module:


.owc_page_label_li img {
height: 228px !important;
}


So after disabling the "Include module css" it works again in all my units. But then the function with same hight on products frame don't works. And I liked that funktion.

So my question is, is this a bug? Should I use the extra code given to me, or can you find the real reson for this bug? Is it possible to disable the "lazy" function? Maybe that is not neccesery on all system, maybe better if possible to turn on/off.

And I also say, this may be a conflict with something else as I used this module for some months and this just started like that a few days ago.

Let me know if you need more info/picture. I think you have my info from earlier questions.

/Thomas
Attachments (3)
Comment
There are no comments made yet.
Add Comment
Dennis Buijs Accepted Answer
0
Votes
Undo
Hi Thomas

I have checked my code but this css part is not anymore in my code.
Normaly you can see css of my extension in catalog\view\theme\default\stylesheet\owc\owc_productpageenhanced.css.

So I think you have an older version installed, latest version is 1.8.6. You can download the latest version from shop.openwebcreations.eu.

Best regards
Dennis
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 1
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi

I actually have 1.8.6. But I can try to reinstall it.

/Thomas
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 2
Dennis Buijs Accepted Answer
0
Votes
Undo
Can you check the file catalog\view\theme\default\stylesheet\owc\owc_productpageenhanced.css, do you see if there is something like .owc_page_label_li img.

FTP all files again is always good.
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 3
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi

I have this in line 15-19. It's the closest to your.

/* Labels */
.owc_page_label_li {
position: relative;
overflow: hidden;
}

/Thomas
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 4
Thomas Lombert Accepted Answer
0
Votes
Undo
Install version again. No differens.

This is how the page looks like the browser code (see picture)
Attachments (1)
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 5
Dennis Buijs Accepted Answer
0
Votes
Undo
hi

I don't kwow what it the problem. You described that you solved it by changing something with .owc_page_label_li img.
What are the steps to reproduce this on my environment.
OpenCart version?
Extenions for lazy loading images?
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 6
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi

Yes, I think this is so strange to. It just start to show one day, no new module and so. And the only way to remove the problem is to deactivate the function in your module.

I don't say it's your module that is the problem, but as it is "controlled" by your module, I started with you.

I can't remember geting any module for lazy loading, as we have a fast server and I have not got any problem with the image loading slow.

And it is not show at all computers. My work computer shows image all the time, bot with and without your module, but my personal computer and iPhone is not showing image if function is activate. And my boss computer/phone works just fine. So this is not a problem that all have. I can "activate" your module, and you can see at http://www.rubank-verktygs.se if you see the problem or not.

/Thomas
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 7
Thomas Lombert Accepted Answer
0
Votes
Undo
Hi again.

I think I found it. I used this module on the old server, https://www.opencart.com/index.php?route=marketplace/extension/info&;extension_id=40596&filter_search=lazy%20loading and it have some lazy loading function.

And now I turned it of, I can see the image again.

So problem probably solved! :D

Thanks for the help.

/T
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 8
Dennis Buijs Accepted Answer
0
Votes
Undo
Ok, very good.
When I have time I will check this extension and Lazy loading.
Comment
There are no comments made yet.
Add Comment
  1. more than a month ago
  2. Product Short Description
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Welcome

Categories

OpenCart Free Extension
  1. 1 post
  2. 2 subcategories
OpenCart Commercial Extension
  1. 67 posts
  2. 17 subcategories
Sales & Billing
  1. 0 posts
  2. 2 subcategories
Welcome
  1. 4 posts
  2. 2 subcategories

Recent Discussions

How to improve OpenCart performance
I have a website using OpenCart so I have a question to ask everyone how to opt...
144 Hits
0 Votes
Posted on Wednesday, March 27 2024, 08:10 AM
License activation
Hello, I have bought EU VAT Compliant module with unlimited domains license. ...
262 Hits
0 Votes
Posted on Wednesday, March 06 2024, 02:30 PM
  • Resolved
  • Delivery address problem
    Hi, if you specify a different shipping address from the payment address, it doe...
    268 Hits
    0 Votes
    Posted on Thursday, February 01 2024, 12:48 PM
    EU VAT Compliant problem
    Hello, we have bought your extension EU VAT Compliant in the Opencart Marketplac...
    337 Hits
    0 Votes
    Posted on Thursday, February 15 2024, 10:17 AM
    Does "short descriptions" work with Open
    Does short descriptions work with open cart 4?...
    405 Hits
    0 Votes
    Posted on Wednesday, December 20 2023, 07:50 AM