HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Love the plug in. I do have two questions if that’s oka…

Published: November 18, 2020
Support status: closed

Love the plug in.

I do have two questions if that’s okay. Can I use gifs instead of pictures for the questions.

And secondly is there a way to have the answer on the next page so it would be

Question 》 Answer 》 question

Thanks in advance.


This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Eric

Hi Eric,
you sure can! – but only easily for the featured question image (just upload a gif and it will work).

For the “image as answer” images, HD Quiz needs to create a resized version of the image so that your browser isn’t downloading a file larger than it needs to. The problem is that when WordPress resizes an animated gif, the resized version is no longer animated! This is actually a known “bug” of WordPress itself.

So if you need to use animated gifs for the “Image as answer” feature, then you will need the following.

  1. You need to understand that we will be unable to automatically resize the images or create thumbnails. This means that your images may look a little “mismatched” with different aspect ratios, and images may also be unoptimized in regards to filesize.
  2. You will need to make a small edit to the plugin directly. Edit ./hd-quiz/includes/functions.php and change line 574 to $image_url = wp_get_attachment_image_src($image, "full", false);. This will make HD Quiz load the full untouched image instead of the resized ones.

And for your second question, I’m afraid that isn’t possible. You cannot have the question on a different page than the answers.

19 November 2020 — 00:30 support admin - Dylan

If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.

This thread has either been marked as complete or has been automatically closed due to inactivity.