WordPress.org

Ready to get started?Download WordPress

Forums

images not displayed (5 posts)

  1. pacodelacroix
    Member
    Posted 6 years ago #

    i am using the Wysiwyg text Widget and i dont know what i modified that the image doesnot displayed.I ve already checked the image directory and the name of the file and it is ok. thanks in advance

  2. bookchiq
    Member
    Posted 6 years ago #

    Thanks for mentioning this. We're looking into it and will do our best to fix. I'll update here when we have a new version.

  3. heathergm
    Member
    Posted 6 years ago #

    Hi,
    I was having the same problem with images in nested pages (sub sub pages) because all of the addressing and links (so links are broken as well). I can't see a way to get at the actual HTML to override this through the admin so i think it would probably be best to remove this logic from the code as its sure to cause problems for others as well in some situations. Other than this issue this plug in has been a great find. I just hope there is a resolution to this before i need to turn the site over to the client, who doesn't have HTML skills to deal with this type of thing.

  4. dhoffmann
    Member
    Posted 6 years ago #

    the problem is, that the widgets stores all pathrelatev, like ../

    so on subpages the path does not point to the file. I really like this plugin, hope you find a solution.

  5. chikimonkey
    Member
    Posted 6 years ago #

    Had the same problem with relative links. While you're waiting for an official release, you can fix this manually by adding one line to wysiwyg-text-widget.php in your wp-content/plugins directory. In the tinyMCE.init() function, add relative_urls : false,
    .

    The code is around line 55 (and the fix is the 3rd line down):

    <script language="javascript" type="text/javascript">
    			tinyMCE.init({
    				relative_urls : false,
    				mode : "specific_textareas",
    				editor_selector : "mceEditor",
    				width : "457px",
    				theme : "advanced",
    				theme_advanced_buttons1 : "<?php echo $mce_buttons; ?>",
    				theme_advanced_buttons2 : "<?php echo $mce_buttons_2; ?>",
    				theme_advanced_buttons3 : "<?php echo $mce_buttons_3; ?>",
    				theme_advanced_toolbar_location : "top",
    				theme_advanced_toolbar_align : "left"
    			});
    			</script>

Topic Closed

This topic has been closed to new replies.

About this Topic