Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • jurgenakkermans Friend
    #192178

    When I insert an image and make it link to anything, the link is removed when I check the website.

    Code in editor:
    <a href=”images/emma_watson.jpg”><img style=”float: left;” src=”images/emma_watson_th.jpg” alt=”Emma Watson” /></a>

    Code in browser:
    <img alt=”Emma Watson” src=”/dumco/images/emma_watson_th.jpg” style=”float: left;”>

    With the original Joomla template it works fine.

    I hope anyone can help…

    Ninja Lead Moderator
    #512081

    Where did you add this script above? I need more info maybe I would be able to find the solution for you

    jurgenakkermans Friend
    #513427

    I didn’t add any script. I add a picture to an article and make a link of it. But when I preview my website the picture is there but it doesn’t work as a link. When I look at the HTML-code, the <a href…..></a> part is gone.

    Ninja Lead Moderator
    #513593

    Look at my screenshot

    and add i, div, p, a, img into Extended Valid Elements of Editor – TinyMCE and try to do with Code in editor again


    1. editor_jce
    jurgenakkermans Friend
    #514223

    <em>@Ninja Lead 399630 wrote:</em><blockquote>Look at my screenshot

    and add i, div, p, a, img into Extended Valid Elements of Editor – TinyMCE and try to do with Code in editor again</blockquote>

    That did it! It also solves the problem I had with Rokbox! Thank you!

    jurgenakkermans Friend
    #515867

    <em>@jurgenakkermans 400422 wrote:</em><blockquote>That did it! It also solves the problem I had with Rokbox! Thank you!</blockquote>

    Sorry… found out it didn’t work.

    The problem was only in blog, not in a single article. So I deleted the blog override in templates/html. That did it.

    Ninja Lead Moderator
    #515951

    Thanks for your sharing, but you can show us details of the solution.

    jurgenakkermans Friend
    #516878

    I deleted the file:

    templates/ja_social/html/com_content/category/blog_item.php

    The part of the code inside it, handling the position of the image in blog view deletes the <a href=…></a> part of the image if you try to make a weblink of the image. And because rokbox uses the <a href…></a> to work, it doesn’t work also.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  jurgenakkermans 10 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum