Jump to content
Sign in to follow this  
laguiadelpecado-1567735425

Agregar "alt" y "title"

Recommended Posts

laguiadelpecado-1567735425
Posted (edited)

Hola

Como agregar alt y title tags para las imagenes presentes en - listings_masonry.thtml

					<?php if( $this->config->media_list_thumbnail && $mainMediaThumbUrl = $Media->thumb(Sanitize::getVar($listing,'MainMedia'),['listing'=> &$listing,'size'=>$tn_size,'mode'=>$tn_mode,'return_url'=>true])):

						$thumb = sprintf('<img src="%s"  alt="" title=""/>',$mainMediaThumbUrl);
						?>

						<div class="jrListingThumbnail jr-more-info">

							<?php echo $Routes->content($thumb,$listing);?>

						</div>

					<?php endif;?>

Quiero poner el titulo de la lista. - <?php echo $listing['Listing']['title'];?>

Gracias

Edited by laguiadelpecado-1567735425

Share this post


Link to post
Alejandro

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
laguiadelpecado-1567735425

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.