Newscoop 4.0 How to Insert a new image in my article
  • I was trying the previous Newscoop version, but now I had installed newsccop 4.0 in my laptop.

    I created a new article and can attached my images in the media box. But when I try to insert a image in the Article Full-text area using "Insert Image" bottom, the Insert Image Window is openned but with any image on it.

    This URL is showing in the top of the windows: http://www.miweb.com/js/tinymce/plugins/campsiteimage/popup.php?article_id=108

    I remenber that I got it in latests version, but now I cannot find how to get it in any manual.

    Any Help? please

    Thanks
  • 8 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    try to update to latest version from github: https://github.com/sourcefabric/Newscoop/tarball/next


  • I got the newscoop 4.0.0-20

    I extracted files and copied all files under directory newscoop into my RootDirectory. Then, a message saying that an upgrade was needed appeared in myweb.com

    Then I called http://www.myweb.com/upgrade.php as i read in the updrade documment on your wiki

    Then,

    Upgrading the database from version 3.5.x, roll 2012-03-12...












    image
    Error: While upgrading the database: tables.sql (4.0.x) errors on:
    ALTER TABLE `ArticleAuthors` ADD COLUMN `order` int(2) unsigned DEFAULT NULL;
    Duplicate column name 'order'

    I have made a Backup, so Ican recover to last State

    But, can anybody help me for upgrading properly?





  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    it seems you have all necessary database upgrades. Just remove conf/upgrading.php file
  • Now is running because I see that the templates edition is running properly, but the Insertingan Image still not working.

    When I try to insert an Image the box is empty without any image in it.
  • This is because you need to attach an image to article first; it can be uploaded directly to article, or assigned from media archive's existing images. You can do this in article edit screen right sidebar widget 'images'.
    After you attach image(s) to article you will see them when use editor's insert image icon
    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric
  • Sorry, but I did it that before. In fact I have 2 images inserted.

    I tested one something now that probably could help.

    I can Insert an empty Image, because as I told before, the Inserting Image window is empty, and clickin OK it generates something.

    After that I click on HTML, so I can see it in html format, and I complete the sentece inserting the ImageId and the /images/cms-image-000000102.ipg in the src

    Then I can see the Image in the Editor and resizing it.   BUT:

    When I Save the articulo it cannot see it as a normal Web user. And If I return to the Article trying to edit it again, The image was disapeared.
  • ----------------  I GOT INSERTING IMAGES -------------

    But I'm not so happy because it was handly.

    WHAT I DID

    Using the HTML editor I wrote the following line:
    <p><img id="3" title="Secadero de Jamones" src="/images/cms-image-000000103.jpg" alt="" width="190" height="190" align="middle" /></p>

    Then I was able to save the article and the image appears in the Web.

    BUT I KEEP MY EYES ON A POSSIBLE PROBLEM???

    I saw this when I try to insert a new image into the article and I did it in blank because there isn't any image to select and I use the HTML Editor this line was on it:
    <img id="" title="" src="/admin/articles/" alt="" width="" height="" align="" />

    I wouldlike to take a look on the directory selected. Is this the problem? I suppose that the directiry should be /images/.

    ??????? an expert could say if this is the problem or not. And tell us where we have to change this default directory.

    Thanks
  • Hello tu everybody,

    The problem was solved. I installed the 4.0.0.50 version and all is working properly.


    Thanks to Andrey and Ijuva for responding.