Fork me on GitHub

Xinha images directory  Bottom

  • Hi, companions:

    I've succesfully installed Xinha. I've activated 'insert images' plugin.
    When I try to insert an image in the editor, a window is opened with the text 'images on the server'.

    Where is xinha searching for the images?

    Thanks a lot.



    edited by: belitre, Dec 04, 2006 - 11:42 PM
  • Take a look into /modules/xinha/pnincludes/plugins/ImageManager/config.inc.php

    By default the plugin stores the pictures into a subfolder of /ImageManager.

    I changed the following config to a separat directory [root]/images/xinha


    Code

    $IMConfig['images_dir'] = $_SERVER['DOCUMENT_ROOT'].'/images/xinha/';


    Code

    $IMConfig['images_url'] = $GLOBALS['SITE_ROOT']. "/images/xinha/";



    Do the same, if you are using the ExtendedFileManager.
  • belitre is using "InsertPicture"-plugin, not ImageManager, Carsten ;)

    Try "ImageManager" as mentioned above, so you can upload pictures ;)
    Perhaps a look at /xinha/pnincludes/plugins/InsertPicture/insert-picture.js would help. The config-code has to be added to /xinha/pntemplates/xinha_editorheader.html .

    Only activate ONE of the following image-plugins:
    InsertPicture
    ImageManager
    ExtendedFileManager (recommended for uploads)

    Next release of xinha (1.1) will include the demo config code for InsertPicture in templates.

    --
    | scribite! | TNGz | piwik | zweet |
  • Hi Sven icon_wink

    you're right. I did not saw that he uses the InsertPicture-Plugin.

    icon_biggrin
  • Ouch!
    the activation WARNING of Only ONE of the images plugin must be explicit in the admin config...

    but still i get an error Inserting an Image:


    i've activated InsertPicture but when open the popup lauchs an error because try to open a bad URL (/plugins) without include /modules/scribite/pnincludes...


    also i've used ImageManager and can upload, new folder, etc, but when i insert an image, and submit the doc, the image simply was not inserted in the article.
    when i try to see the HTML code, Firebug detects an error in XinhaCore.js (line 4217): "base_m has no properties"
    once time that i don't know how i can insert the image, when i try to edit again the article, again the XinhaCore.js error but this time the textarea was disabled and without content... the image has blocked the initialization of the editor!

    what i do? the ImageManager doesn't works!

    --
    - Mateo T. -
    Mis principios... son mis fines
  • This seems to be an xinha related problem - not scribite!

    Try searching in xinha forums, please.


    --
    | scribite! | TNGz | piwik | zweet |

This list is based on users active over the last 60 minutes.