seems to be no way in displaying images and ads inside of drupal's content body

Comments

vm’s picture

what are you trying to add to the content area? ie: what code?

are you using the proper input format for that code?

Until the release of Drupal 7 there is no image handling done directly in core. One would add modules for handling images. Contrib modules that are moving into core in D7 are, imageapi, imagecache, image, and imagefield

sp09’s picture

ok this is what I am trying to do.

(image)

http://drupal.org/sites/all/themes/bluebeach/logos/drupal.org.png

(google adsense code)

there is no way that I can achieve both using input filters. either one will show and the other won't. I want to both display both a image inside the content's body and an advertisement. I use those modules your talking about but they won't fix it plus they mainly place images above your content not inside of it?

bsenftner’s picture

I think you want to break your page up into multiple nodes - some of which are images, some are ads, and some are "content" nodes. You can do with with the "Panels" module quite easily. You can also do with with the "contemplate" module a little less easily.

With Panels you are able to slice and dice the page up into multiple columns and blocks, and then you can place any node you want in any of them, as well as Views for more dynamic displays...

sp09’s picture

I need a simple way for users to be able to do this like a posting a blog or article. I use both panels and views.

vm’s picture

they mainly place images above your content not inside of it?

That's not necessairily correct. You can use css in your style sheet to control where the images are placed in content by adding the required css to your img tag declaration.

Google adsense code is javascript I believe nad you seriously don't want to allow users to enter javascript. consider the adsense.module.

sp09’s picture

you can't from the drupal basic end and adsense module is no good.