Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jswin05 Friend
    #974628

    When I view my website on my iPhone or Macbook Air I see a broken image icon at the top of the article area. I do not see this icon on my PC. Please see attached.

    http://www.newvisioneyes.com/joomla/index.php/about-us


    1. AboutUs
    jswin05 Friend
    #974630

    Correction: the icon shows up in the Internet Explorer browser on my PC as well. I just doesn’t show up on Firefox. I haven’t tried Chrome.

    pavit Moderator
    #974631

    Hi there

    That div is containing the website logo for article menu item type ( look at image below ) If you want to add an image into article top then you will need to upload logo.png in this folder /templates/ja_medicare/images/logo.png

    If you want to remove it then delete the php block showed below in this file /templates/ja_medicare/html/layouts/joomla/content/fulltext_image.php at line 15 to 24

      <div >
        <span itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
          <img
            src="<?php echo JURI::base(); ?>/templates/<?php echo JFactory::getApplication()->getTemplate() ?>/images/logo.png ?>"
            alt="" itemprop="url" />
          <meta itemprop="height" content="auto" />
          <meta itemprop="width" content="auto" />
          <meta itemprop="url" content="<?php echo JURI::base(); ?>" />
        </span>
      </div>

    1. Screenshot_2-4
    2. Screenshot-at-ott-08-19-26-47
    jswin05 Friend
    #974634

    Awesome! That worked! I found this area in the Inspector but I couldn’t figure out which php file it came from! For my future knowlege, once I identified the offending html using my browser’s inspector, what should I have done to find the correct php file?

    Thanks!

    pavit Moderator
    #974636

    what should I have done to find the correct php file?

    You cannot find it with inspector, you should know website file structure and how T3 framework behaves with custom layouts , in this case the com_content overrided layout with fulltext_image.php file

    Regards

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

This topic contains 4 replies, has 2 voices, and was last updated by  pavit 8 years, 1 month ago.

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