Open DlgzRogelio opened 2 years ago
I will add this code to the lines 23 to 28 of the script file: var imageEl = $(''); if (imgUrl!= null){ imageEl.attr('src', "https://image.tmdb.org/t/p/w500"+imgUrl); } else { imageEl.attr('src', 'https://via.placeholder.com/468x460?text=Come+Frutas+y+Verduras'); }
I will add this code to the lines 23 to 28 of the script file: var imageEl = $('
');
if (imgUrl!= null){
imageEl.attr('src', "https://image.tmdb.org/t/p/w500"+imgUrl);
} else {
imageEl.attr('src', 'https://via.placeholder.com/468x460?text=Come+Frutas+y+Verduras');
}