Failed to load resource: the server responded with a status 403
Dobrý den,
do WordPressového pluginu Visualizer potřebuji dostat obrázek. Protože mi to nešlo dle návodu, kontaktoval jsem podporu pluginu a dostal jsem odpověď, že vložený kód je v pořádku, ale obrázek se nezobrazuje kvůli odpovědi serveru.
Přikládám chybovou hlášku, která se zobrazila podpoře a kód, který by měl obrázek zobrazit.
Zde je ještě odpověď podpory:
„The issue now is that the required file isn’t delivered by the server, there is an error in the browser console regarding it – screenshot.
I would recommend contacting your hosting provider in this situation, as the issue might be due to the file permissions or other server-related settings.“
Co mohu udělat pro to, aby vše fungovalo?
Mockrát děkuji,
TN.
// user specific customizations (function ($) { $(document).ready(function(){ $('body').on('visualizer:format:chart', function(event, data){ customize_format(data.id, data.data, data.column); }); }); jQuery('.visualizer-front').after(jQuery('<div class="vim" style="position: absolute;width: 100px;height: 100px;bottom: 0;right: 0;"><img src="jQuery(\'.visualizer-front\').after(jQuery(\'<div class="vim" style="position: absolute;width: 100px;height: 100px;bottom: 0;right: 0;"><img src="https://up-forum.cz/wp-content/uploads/2020/03/UPIndices100.png"></div>\')).css(\'position\',\'relative\');"></div>')).css('position','relative'); function customize_format($id, $data, $column) { /* example add green/red arrows to the specified column of the specified chart if($id === 359 && $column === 1) { var formatter = new google.visualization.ArrowFormat(); formatter.format($data, $column); } */ } })(jQuery);
[/apcode]
2 Answers
Děkuji za rychlou odpověď. Obrázek už se zobrazuje, ale jinde. To už snad dořeším s podporou pluginu.
Ještě jednou děkuji,
TN.