Missing alt tag in div class="default-image"
Almost all of my pages contain this for some reason
Code:
<div class="default-image" style="display: none;"> Can't figure out why there isn't a default image assigned but the alt tag is empty and that is constantly thrown up in bing and google webmaster SEO analysis. |
Re: Missing alt tag in div class="default-image"
Quote:
Could you please specify what template you use in your webstore and at what page of the site this code appears? Thank you. |
Re: Missing alt tag in div class="default-image"
Quote:
Example: https://glaspak.com/round-1-liter-giara-swing-top-bottle.html Code:
<div class="default-image" style="display: none;"> I traced it down to Code:
<!-- XLite\View\Image : default/en/common/image.tpl (98) {{{ --><img src="skins/default/en/images/no_image.png" alt="" height="300" width="300" data-max-width="300" data-max-height="300" data-is-default-image="1" /> Which is this Code:
{* vim: set ts=2 sw=2 sts=2 et: *} I think I tracked it down to http://pastebin.com/pNQZ0K8e Looks like there is no default alt tag (or atleast no alt tag for the default_image) which is defined somewhere else. |
Re: Missing alt tag in div class="default-image"
Quote:
Looks like a bug, as the issue remains on a fresh X-Cart 5.2.7 installation. I will report it to the development team to get it fixed. As a workaround, I would suggest to manually override the alt description until this is fixed. Here is the bug report where you can track the progress of the issue: * https://bt.x-cart.com/view.php?id=45229 |
Re: Missing alt tag in div class="default-image"
Quote:
Would it be something like Code:
public function getAlt() ??? Also didn't know 5.2.7 was out, our admin panel in x-cart still shows 5.2.6 and no option to upgrade. |
Re: Missing alt tag in div class="default-image"
Quote:
|
Re: Missing alt tag in div class="default-image"
Quote:
The ticket says it is closed yet I am still seeing the problem in the latest version <div class="default-image" style="display: none;"> <img src="skins/default/en/images/no_image.png" alt="" height="300" width="300" data-max-width="300" data-max-height="300" data-is-default-image="1" /> </div> |
Re: Missing alt tag in div class="default-image"
Still no update?
|
Re: Missing alt tag in div class="default-image"
Quote:
The ticket was closed as a duplicate of this one: https://bt.x-cart.com/view.php?id=45330 The developers say that this image is never displayed on the page directly and is used by some JavaScript functions only. Quote:
Please can you clarify the exact text of the message? Is it a notice? Or is it a warning? |
All times are GMT -8. The time now is 07:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.