Status
Not open for further replies.

valdi

Customer
Hi,
Is it possible to set the image size in the options for the field Quiz Description?
Users insert for large images.
What to do?
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Sorry about that, did count on that happening heh. For now, a quick way to fix it is

open dbtech/vbquiz/actions/quiz.php

Find

PHP:
        $quiz_data['rules'] = convert_url_to_bbcode($quiz_data['rules']);

Before that add

PHP:
        $quiz_data['quiz_desc'] = str_replace('<img src', '<img width="250" src', $quiz_data['quiz_desc']);


That will fix the images for now. If you create a feature request to add an acp option to limit the description image width I'll add it in the next release.
 
Very Thanks! :)

Wonderful, please also add the code for the iframe - for video from YouTube.
 
Last edited:
Status
Not open for further replies.

Similar threads

  • Locked
  • Suggestion
Replies
0
Views
2K
  • Locked
  • Suggestion
Replies
3
Views
762
  • Locked
  • Suggestion
Replies
5
Views
1K
  • Locked
  • Suggestion
Replies
30
Views
10K
Replies
1
Views
775
Back
Top