Jump to content

Agregar "alt" y "title"


laguiadelpecado-1567735425

Recommended Posts

laguiadelpecado-1567735425

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
Link to post
×
×
  • 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.