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. 52 posts
  2. 17 subcategories
Sales & Billing
  1. 0 posts
  2. 2 subcategories
Welcome
  1. 3 posts
  2. 2 subcategories

Recent Discussions

VAT extension errors
Hi i get error from eu vat extensension. And 9/10 times customers VAT doesnt get...
166 Hits
0 Votes
Posted on Friday, September 02 2022, 12:09 PM
Problems installing EU VAT
I just bought the EU VAT product. I installed vqmod, then the EU VAT product, as...
141 Hits
0 Votes
Posted on Friday, August 26 2022, 05:42 PM
EU_VAT error in logs | GEO service cannot retrieve
Hi Team, We have installed the EU VAT extension at our opencart Eshop with th...
234 Hits
0 Votes
Posted on Tuesday, August 02 2022, 09:32 AM
  • Resolved
  • VAT field not showing for exisitng customers
    Hey there, i have following question. When an user or customer is creating a...
    431 Hits
    0 Votes
    Posted on Saturday, June 11 2022, 08:23 AM
  • Resolved
  • Extra files
    wat is de bedoeling van deze extra files? wat doen ze? zie bijlage...
    485 Hits
    0 Votes
    Posted on Wednesday, May 04 2022, 10:09 AM