Jump to content

Agregar "alt" y "title"


Recommended Posts



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);?>


					<?php endif;?>

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


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.