Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default TinyMCE Image Path

    Just installed the TinyMCE contib on a 138a cart. All seems to work well. However, inserted image path has an extra forward slash "/".

    ex: src="/domain/images//sample.gif"

    Doesn't seem to break path when viewing with FF, but would like to correct.

    Any thoughts?
    Experience is what you get when you don’t get what you want…

  2. #2
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: TinyMCE Image Path

    To answer my own question just in case someone else needs this info!

    This is a 2 part fix. It will remove the extra "/" and will specify a specific images folder.

    add to top:

    <?php define('DIR_WS_TINYMCE_IMAGES', 'images/general'); ?>

    replace with:

    base = "<?php echo DIR_FS_CATALOG . DIR_WS_TINYMCE_IMAGES ; ?>"; // file path to images dir
    path = "<?php echo DIR_WS_CATALOG . DIR_WS_TINYMCE_IMAGES ; ?>";

    to editors/tinymce.php

    Don't forget to add the images folder you specified and give it the correct permissions!
    Experience is what you get when you don’t get what you want…

 

 

Similar Threads

  1. v153 Set path for existing small image and path for existing large image in product?
    By njlech in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 12 Dec 2014, 03:11 AM
  2. TinyMCE and images path
    By incircolo in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Oct 2011, 10:01 PM
  3. Tinymce - dropdown image list
    By nigelt74 in forum General Questions
    Replies: 0
    Last Post: 31 Jul 2010, 05:01 AM
  4. Replies: 3
    Last Post: 31 May 2008, 04:03 PM
  5. Enabling Image Edit in TinyMCE
    By dgwyn in forum General Questions
    Replies: 1
    Last Post: 31 Jul 2007, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg