virtuemart category image tag img attribut title?

philippe.t
27 Posts
philippe.t posted this 15 January 2016

Hello,

For the products/category/subcategories/controls/category image

in the tag html img, is it possible to add or not the attribut title for the image ? for example in the category image,
you can add the attribut title of the image category.

<a class=" bd-categoryimage-2 bd-page-width" href="mydomain/index.php?option=com_virtuemart&amp;view=category&amp;virtuemart_category_id=2&amp;Itemid=138">
    <img src="mydomain/images/stories/virtuemart/category/resized/my_image_category.png" alt="Title of Category" class=" bd-imagestyles-40" title="Title of Category"></a>

add attribut title in tag img

regards
philippe.t

Hello, For the products/category/subcategories/controls/category image in the tag html img, is it possible to add or not the attribut title for the image ? for example in the category image, you can add the attribut title of the image category. <a class=" bd-categoryimage-2 bd-page-width" href="mydomain/index.php?option=com_virtuemart&amp;view=category&amp;virtuemart_category_id=2&amp;Itemid=138"> <img src="mydomain/images/stories/virtuemart/category/resized/my_image_category.png" alt="Title of Category" class=" bd-imagestyles-40" title="Title of Category"></a> ![add attribut title in tag img][1] regards philippe.t [1]: http://s13.postimg.org/ebtjzumnr/suggest_add_attribut_title_tag_img.jpg
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 January 2016

Hi,

This is not yet supported in Themler.

Thank you!

Hi, This is not yet supported in Themler. Thank you!
philippe.t
27 Posts
philippe.t posted this 18 January 2016

Hello,
It is a pity,
In waiting, we can use Insert CMS Code after CategoryImage with this javascript:

<div class=" bd-customcmscode-10 bd-tagstyles">
<script type="text/javascript">
document.getElementsByClassName("bd-imagestyles-45")[<?php echo $i; ?>].setAttribute("title", "<?php echo $categoryItems->categoryName->name; ?>");
 </script>
 <?php $i++="" ;=""?>
</div>

Is it ok?

regards
philippe.t

Hello, It is a pity, In waiting, we can use Insert CMS Code after CategoryImage with this javascript: <div class=" bd-customcmscode-10 bd-tagstyles"> <script type="text/javascript"> document.getElementsByClassName("bd-imagestyles-45")[<?php echo $i; ?>].setAttribute("title", "<?php echo $categoryItems->categoryName->name; ?>"); </script> <?php $i++="" ;=""?> </div> Is it ok? regards philippe.t
Support Team
Support Team posted this 21 January 2016

Hello,
you may add this code using CMS Code control.
Let us know if you need further help with it.

regards,
Aileen

Hello, you may add this code using CMS Code control. Let us know if you need further help with it. regards, Aileen
You must log in or register to leave comments