| Author |
Message |
tnaz71 |
|
Post subject: Help with adding Pictures to homepage
Posted: Feb 10, 2007 - 11:04 PM
|
|
Joined: Feb 10, 2007
Posts: 2
Status: Offline
|
|
Hello,
I am sorry to bother! I am a total Noob regarding this content.
I bought:
Warcraft Alliance PostNuke Theme - PHPNuke Theme - Platinum Them
System: PHPNuke
alliance2
I am having issues when I add a picture to the homepage that it just shows the code or a little white box with a red X in it. When i go back to the location in the admin where the picture is located it actually shows the picture. Any help would be very appreicated!
Also I am using a hosting site for the pictures, Photobucket. And have also tried putting them in the images folder on the webhost.
The code I have tried is
<img src="images/File name">
and also
<img src="Picture hosting site"></img>
Thanks for any help |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Help with adding Pictures to homepage
Posted: Feb 10, 2007 - 11:43 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Check your config.php and make sure that the img tag is allowed. |
|
|
| |
|
|
|
 |
tnaz71 |
|
Post subject: RE: Help with adding Pictures to homepage
Posted: Feb 11, 2007 - 02:11 AM
|
|
Joined: Feb 10, 2007
Posts: 2
Status: Offline
|
|
Thanks again for all your help! I did come up with another question... Remeber Im a total noob here. How do i change/remove the topics icon? it's the php-nuke icon and it really clashes with the site.
Thanks in advance |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Help with adding Pictures to homepage
Posted: Feb 11, 2007 - 04:07 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Create a topic image named phpnuke.gif
Then upload it to themes/wowalliance2/images/topics |
|
|
| |
|
|
|
 |
Cogent |
|
Post subject: Re: Help with adding Pictures to homepage
Posted: Mar 03, 2007 - 05:52 AM
|
|
Joined: Mar 03, 2007
Posts: 7
Status: Offline
|
|
|
tnaz71 wrote:
...snip...
I am having issues when I add a picture to the homepage that it just shows the code or a little white box with a red X in it.
...snip...
I'm actually having this same problem when trying to add an image inside a custom block, though I've already ensured that config.php has "img" => 1 set. This should allow img tags, right? Instead of the image, I'm just getting the default error symbol that displays when an image can't be found. When I go back to the HTML source code, I find that the
Code:
<img src="...images/image_name.gif" />
has become ...
Code:
<img border="0" />
The src attribute is being removed, and I have even tried allowing the src attribute in the same way I allowed the img tag.
Finally, I just gave up on that approach and changed the information in the content column of the _block table, which worked fine. But, is there a more straight-forward way of getting images to work in blocks? |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Re: Help with adding Pictures to homepage
Posted: Mar 03, 2007 - 03:14 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
|
|
|
 |
Cogent |
|
Post subject: RE: Re: Help with adding Pictures to homepage
Posted: Mar 03, 2007 - 07:29 PM
|
|
Joined: Mar 03, 2007
Posts: 7
Status: Offline
|
|
Thanks Mars, it worked perfectly.
Also, if I may ask, what do each of these variables mean in this context: 1, 2, etc? |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Re: Help with adding Pictures to homepage
Posted: Mar 04, 2007 - 01:08 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
1 means the tag only, 2 means allow the tag with attributes
IE 1 would be the equivalent of <b>
2 would be the equivalent of <img src="images/myimage.jpg" height="25" width="25"> |
|
|
| |
|
|
|
 |
|
|