- Posts: 22
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<img src="path/to/images/logo-{SID}.png" />
No, we can do it dynamically for a single with JavaScript but I would need to see a survey to give the script details.I think it is easier to copy the template and change the logo file.
I made that suggestion before you said you had other surveys that you don't want affected.But I had a doubt it the logo name with the survey ID solution wouldn't affect all previous surveys, as you said, hotch.
$(document).ready(function(){ // Image URL var imagePath = 'https://www.google.com/logos/2011/thai_elephant_day11-hp.jpg'; // Insert the image if($('input#sid').val() == 181521) { $('td.survey-description').prepend('<img class="logo-image" src="'+imagePath+'" />'); } });