Ho trovato questo . Pare funzionare. Ve lo giro : se uno ha lo stesso problema.......
Ok I have fixed the problem. It seems that my browsers (and anti virus software) don't like the banners folder and block any images from showing that are in that folder. Here's the solution for anyone else that is having the same problem.
Go to:
Administrator/components/com_banners/controllers
Open up the banner.php file (you should backup the file before editing just encase you stuff it up)
on line 162 (will vary depending on what code editing program you are using, i'm using Rapid CSS)
look for this:
Code:
// Imagelist
$javascript = 'onchange="changeDisplayImage();"';
$directory = '/images/banners';
$lists['imageurl'] = JHTML::_('list.images', 'imageurl', $row->imageurl, $javascript, $directory );
and simply delete the /banners text. make sure you keep the ' and ; at the end of the code.
Your code should now look like this:
Code:
// Imagelist
$javascript = 'onchange="changeDisplayImage();"';
$directory = '/images';
$lists['imageurl'] = JHTML::_('list.images', 'imageurl', $row->imageurl, $javascript, $directory );
Now make sure you save the file.
Now go to:
Modules/mod_banners
Open the helper.php file in your code editor
on line 84 change the 'images/banners/' code to 'images/'
your new code on line 84 should look like this:
Code:
$image = '<img src="'.$baseurl.'images/'.$item->imageurl.'" alt="'.JText::_('Banner').'" />';
now go to line 115 and change the "images/banners" to "images/"
your new code om line 115 should look like this:
Code:
$imageurl = $baseurl."images/".$item->imageurl;
From now on when you want to add an image to a banner, upload the image file to the "images" folder, not the images/banners folder.
I haven't tried this out but in theory you should be able to rename the "banners" folder to something total unrelated like "freediver" (spam and add blockers wont black that word) then just change the code.