normal Impossible to make "alt" and "title" for images!

More
6 years 2 weeks ago #9356 by Dzmitry Lesniewski
In code you can see notning about alt and title of images.. It's possible to make then at all? Can I do something in php code with that?
It's very bad for SEO and I want to solve this problem.
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #9357 by Kiên
Could you please open file with path: modules/ mod_otclientlogosscroller/tmpl/default.php
then find with keyword "<img" and add this
The following user(s) said Thank You: Dzmitry Lesniewski

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #9358 by Dzmitry Lesniewski
Thank you!
I tried and this work. But not in a right way.
I changed code for all pics, I set different values for them, but it displays the same value for all. Tell me, please, what I'm doing wrong, I'm not good in php..
Code:
<?php if(isset($list->avatar) && $list->avatar !='') : ?> <?php if(isset($list->website) && $list->website !='') : ?> <div class="ot_content" data-toggle="tooltip" data-original-title="<?php echo $list->title; ?>"><a target="<?php echo $ot_target; ?>" href="<?php echo 'http://' . $list->website; ?>"><img class="ot_image" src="<?php echo $ot_img_resize; ?>" alt="кафе Бейкери Дю Солей" title="Бейкери Дю Солей" /></a></div> <?php else : ?> <div class="ot_content" data-toggle="tooltip" data-original-title="<?php echo $list->title; ?>"><img "ot_image" src="<?php echo $ot_img_resize; ?>" alt="студия Everest" title="Everest" /></div> <?php endif; ?> <?php endif; ?> <?php } else { ?> <?php if(isset($list->avatar) && $list->avatar !='') : ?> <?php if(isset($list->website) && $list->website !='') : ?> <div class="ot_content"><a target="<?php echo $ot_target; ?>" href="<?php echo 'http://' . $list->website; ?>" ><img class="ot_image" src="<?php echo $list->avatar; ?>" alt="ФК Крумкачы" title="Крумкачы" /></a></div> <?php else : ?> <div class="ot_content"><img "ot_image" alt="<?php echo 'http://' . $list->website; ?>" src="<?php echo $list->avatar; ?>" alt="фотостудия Фотосквот" title="Фотосквот" /></div> <?php endif; ?> <?php endif; ?>
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #9359 by Kiên
Please add <img alt="<?php echo $list->title; ?>" title="<?php echo $list->title; ?>"
The following user(s) said Thank You: Dzmitry Lesniewski

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #9360 by Dzmitry Lesniewski
Thank you so much!! it works. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.273 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam