Ok guys, I am very new to PhP. I had a PHPNuke site a few years ago and had no problems maintaining it. I recently signed up with a host and they have fantastico so I had them install the PHPNUKE automatically. I am having trouble with images. When adding a new 'article' I can add an image and it shows up but when I 'preview' or 'post' the image won't show up. I am hotlinking through photobucket just like in the past. Does that make a difference? Same thing when making a block. All the other HTML works but I can't load images. On 'Topics' icons I have to change the files from jpg to gif in the directory to get them to work. Is there something I am doing wrong or does it sound like I have a bad script somewhere?
[RESOLVED] Getting images to load
In your database field for the image is it the precise URL of the image that is inserted e.g.:
http://www.mysite.com/images/image.gif
???
I try using the copy'paste code
<a href="http://photobucket.com" target="_blank"><img src="http://img.photobucket.com/albums/v243/LinnCountySports/Kaylaaccc.jpg" border="0" alt="Photo Sharing and Video Hosting at Photobucket"></a>
To make it simple, I put in this code and it looks fine then when I 'post' or save it, it disapears.
<img src="http://www.sek-sports.com/images/kaylaaccc.jpg" border="0" />
any suggestions?
after I tried it a few more times, I checked my error log and it is full of these 3 errors:
File does not exist: /home/seksport/public_html/404.shtml
File does not exist: /home/seksport/public_html/css/main.css
File does not exist: /home/seksport/public_html/js/main.js
Would this have anything to do with it?
Got it figured out! "img" was not listed in my 'allowable html array' in the config.php file.
Don't forget to mark this thread resolved (using Thread Tools).