Images too large
Hi, I’m having a problem in the way that some of the images are displaying in my quizzes. Some are okay, but others are showing up much larger than they should be, pushing text off the screen. Below is one example, where a 150 x 150px image is being rendered at 532 x 532.
Rendered size: 532 × 532 px Rendered aspect ratio: 1∶1 Intrinsic size: 150 × 150 px Intrinsic aspect ratio: 1∶1 File size: 7.5 kB Current source: https://www.ukds.uk/wp-content/uploads/2023/09/clearway-1.webp
I first noticed this after the upgrade to version 2.0.2. I went back to version 1.8.15 but the problem remains.
Hi Patrick,
this is not an HD Quiz problem, and sounds exactly like a recent bug in WordPress itself. WP 6.7.1
was released about a month ago and should have fixed this bug though, so please make sure you are using the latest version of WordPress. The bug broke image sizing.
Thanks for that, but I am using the latest version of WP. The problem only happens on certain quiz questions, while others display okay, and there are no issues with images elsewhere on the site. I have tried removing those images which display too large and replacing them with different versions, but without success. It’s strange how it is only certain questions which have the problem.
Good that you’re on the latest version of WP. In this case, the issue is probably a minor CSS incompatibility with something on your site. If you can post a direct link to a quiz so I can see, I can hopefully provide you with the CSS you’ll need.
Okay thanks, here’s the link – https://www.ukdrivingskills.co.uk/free-car-theory-test/
Hi Patrick,
I think you have some configuration issues with your site. Many of your scripts are causing errors, and HD Quiz scripts are not loading at all because of this. Scripts that load before HD Quiz have errors, which prevents the scripts from HD Quiz from loading properly.
Every single script on your site has pmdelayedscript
added to it. This is a really bad idea as it means that you are attempting to “lazyload” all of your scripts – and since so many of your scripts rely on functions of other scripts, this is breaking a lot of things.
I’m assuming you are using some kind of performance plugin, so please make sure you have it properly configured and aren’t trying to lazy load every single script on your site.
Respond to thread
This thread has been closed / marked as resolved.
You can reply to this thread, but it might be better to start a new thread if you need help.
You can also upload images to imgur and paste the links here. Just make sure that your images don't include any sensitive information.
Submit