Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Images in News stories
  • Posted: 15.02.2008, 23:00
     
    enchanted_illusions
    rank:
    Softmore Softmore
    registered:
     January 2008
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    53
    I can't seem to make images show up in my news stories. Can images be placed in news stories? If so, is there a certain folder they need to be stored in? I currently have them in a folder named "imgs" in the root directory. I call to them by using a basic image code

    Code

    <img src="imgs/picture.jpg" border="0" hspace="10" alt="" />
    I feel dumb asking this question, but I can't figure out why they won't show. Thanks!
  • Posted: 16.02.2008, 00:28
     
    uheweb
    rank:
    Professional Professional
    registered:
     September 2004
    Status:
    offline
    last visit:
    10.11.08
    Posts:
    815
    All HTML tags can have restrictions set in content areas.

    Go to your Admin sectino, click on settings, then make sure the IMG tag is allowed WITH ATTRIBUTES (ie, the src, border, hspace alt attributes).

    Then, the PostNuke rendering engine will not parse out the img tags.

    NCM
  • Posted: 16.02.2008, 01:08
     
    enchanted_illusions
    rank:
    Softmore Softmore
    registered:
     January 2008
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    53
    Thank you for the reply, but I did that before I posted my original post. That is not the issue.



    edited by: enchanted_illusions, Feb 15, 2008 - 08:08 PM
  • Posted: 16.02.2008, 02:59
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    online
    Posts:
    2994
    provide a URL to the news story with the image in it, please.

    --
    David Pahl
    Zikula Support Team
  • Posted: 18.02.2008, 20:23
     
    enchanted_illusions
    rank:
    Softmore Softmore
    registered:
     January 2008
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    53
    I'm afraid I can't as I am building an intranet site for the company I work for. There is no way to do so. I appreciate the response, but will have to muddle through this on my own I suppose. I am quite certain that my coding is correct though, so I can't see the problem. Thanks for being willing to help!
  • Posted: 18.02.2008, 21:06
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    online
    Posts:
    2994
    Use Firebug to help troubleshoot...

    --
    David Pahl
    Zikula Support Team
  • Posted: 19.02.2008, 00:29
     
    enchanted_illusions
    rank:
    Softmore Softmore
    registered:
     January 2008
    Status:
    offline
    last visit:
    14.11.08
    Posts:
    53
    Thank you for the suggestion.
  • Posted: 21.02.2008, 13:05
     
    g0tw33d
    rank:
    Registered User Registered User
    registered:
     February 2008
    Status:
    offline
    last visit:
    21.02.08
    Posts:
    1
    I'm having a similar problem too. I'm using 0.7.6.4. When I insert just text into my "Story lead in", I can preview my message and it is okay. However, when I insert an image with the Visual Mode, I'm unable to preview it. When I go "Preview" I will get a white page, as if I was going to the (News) page. Any help will be appreciated.

    Update: It seems to work if I just post it and not preview it first.



    edited by: g0tw33d, Feb 21, 2008 - 08:45 AM

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula