Welcome, Guest
Username: Password: Remember me

TOPIC: Impossible to make "alt" and "title" for images!

Impossible to make "alt" and "title" for images! 1 week 2 days ago #9356

  • kanzler13
  • kanzler13's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Impossible to make "alt" and "title" for images! 1 week 1 day ago #9357

  • caselock
  • caselock's Avatar
  • OFFLINE
  • Administrator
  • Posts: 298
  • Thank you received: 32
  • Karma: 2
Could you please open file with path: modules/ mod_otclientlogosscroller/tmpl/default.php
then find with keyword "<img" and add this
The administrator has disabled public write access.
The following user(s) said Thank You: kanzler13

Impossible to make "alt" and "title" for images! 1 week 20 hours ago #9358

  • kanzler13
  • kanzler13's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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..
<?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:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Impossible to make "alt" and "title" for images! 1 week 19 hours ago #9359

  • caselock
  • caselock's Avatar
  • OFFLINE
  • Administrator
  • Posts: 298
  • Thank you received: 32
  • Karma: 2
Please add <img alt="<?php echo $list->title; ?>" title="<?php echo $list->title; ?>"
The administrator has disabled public write access.
The following user(s) said Thank You: kanzler13

Impossible to make "alt" and "title" for images! 1 week 18 hours ago #9360

  • kanzler13
  • kanzler13's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Thank you so much!! it works. :)
The administrator has disabled public write access.
Time to create page: 0.116 seconds