Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I inserted an image in a block and when I put it in the Bottom first, middle or last areas it does not show. If I put text in a block and insert it in the above areas it shows up just fine. Is there something I am missing or is there more I need to do to get it to show?
By the way I love the danland theme... I have been modifying it before I add more modules and things... Here is a link to the site: http://0183818.netsolhost.com/tcsite01/ Please give me some feedback if you have time.
Comments
Comment #1
danpros CreditAttribution: danpros commentedHi,
Maybe you forget to change the input format. Use full html.
Dan
Comment #2
Deepika.chavan CreditAttribution: Deepika.chavan commentedHi,
1) Try adding following code in your block's body and select php format:
2) Save your image in "/themes/danland/images/. " folder.
3) Replace YOUR_IMAGE.jpg by your image's name.
Rgrds,
Deepika Chavan.
Comment #3
breeze76 CreditAttribution: breeze76 commentedDan,
That was it.. geez... I knew it was something simple I missed, thanks again and great theme....
gene
Comment #4
danpros CreditAttribution: danpros commentedHi,
Okay I will close this :)
Dan
Comment #5
Harbir Nat CreditAttribution: Harbir Nat commentedDeepika,
The Block's body only allows for Filtered HTML, Full HTML and Text formats not PHP.
How does one insert an image in the block ?
Harbir
Comment #6
Deepika.chavan CreditAttribution: Deepika.chavan commentedHi Harbir Nat,
Please enable the php filter on module's configuration page. So you can use php code in block body.
Regards,
Deepika chavan.