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
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. # 1
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. # 2
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. # 3
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. # 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
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. # 6
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. # 7
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. # 8
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. # 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. 57 posts
  2. 17 subcategories
Sales & Billing
  1. 0 posts
  2. 2 subcategories
Welcome
  1. 4 posts
  2. 2 subcategories

Recent Discussions

EU VAT Compliant with Quick Checkout -> Empty f
Hello, we have bought your extension EU VAT Compliant in the Opencart Marketplac...
80 Hits
0 Votes
Posted on Wednesday, January 04 2023, 02:22 PM
  • Resolved
  • Support Inventory Report
    Hi I need to get Inventory Report (https://www.opencart.com/index.php?route=m...
    145 Hits
    0 Votes
    Posted on Wednesday, November 23 2022, 04:09 PM
  • Resolved
  • Add more info to 'Report'
    Hi Dennis I just found the report(s) from this module. And I wondering if...
    165 Hits
    0 Votes
    Posted on Monday, November 21 2022, 05:58 PM
  • Resolved
  • MySql error
    HI I just update the Product Sale and Cost Price to last version and I now ge...
    132 Hits
    0 Votes
    Posted on Monday, November 21 2022, 09:54 PM
  • Resolved
  • OWC EU VAT Issue
    Sometimes for no reason customers get VAT reverted even without entering VAT cod...
    448 Hits
    0 Votes
    Posted on Wednesday, October 05 2022, 02:00 PM
  • Resolved