Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:12:32 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Trouble adding images  (Read 586 times)
DRB184

Offline Offline

Posts: 4


« on: December 04, 2007, 07:56:31 AM »

I am trying to add images to a page. When I tried using the WYSIWYG editor, the pop-up had an "Error On Page" and the add failed. So I tried to add it using the Code editor, and the result can be seen here http://davidbeaver.net/wb/pages/banners.php

The code that I used is:
<p>Please use these banners to link back to my site.</p>
<img src="http://davidbeaver.net/wb/images/banner_Cathy.jpg" height="80" width="95%" alt="Cathy's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_novella.jpg" height="80" width="95%" alt="Novella's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_Mysty.jpg" height="80" width="95%" alt="Mysty's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_Ssim.jpg" height="80" width="95%" alt="Ssim's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_Olivia.jpg" height="80" width="95%" alt="Olivia's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_Margarete.jpg" height="80" width="95%" alt="Margarete's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_Sue.jpg" height="80" width="95%" alt="Sue's Banner" />
<img src="http://davidbeaver.net/wb/images/banner_angel.jpg" height="80" width="95%" alt="Angel's Banner" />
<p>Thanks, David.</p>

Any help in fixing this so the photos appear on the page properly would be greatly appreciated.

Thanks in advance for your help,

David.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: December 04, 2007, 08:26:47 AM »

Hello,

why not simply use WB's media section to upload images and then simply insert them in WYSIWYG Editor with browsing the media dir?

and if you use the code section, please read the docu how to use this. If you wanna use html code you have to echo it.

Matthias
« Last Edit: December 04, 2007, 08:28:30 AM by ruebenwurzel » Logged
marathoner

Offline Offline

Posts: 495


« Reply #2 on: December 04, 2007, 07:03:40 PM »

@DRB184

The code section is intended for PHP code and not HTML code. The WYSIWYG section would be used for HTML.

I do have a question for you...I noticed that you are referencing a /images directory. WB creates a /media directory by default. Did you change the default from /media to /images? Or, do you have both a /images and /media directory? I'm thinking that you may have permissions issues if you created this directory but haven't given WB sufficient rights.

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!