Last active
June 13, 2020 10:19
-
-
Save giovannipds/9841e6dbd6907c682f63b9ac441b5611 to your computer and use it in GitHub Desktop.
Ezoom Weird Stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Normal Lazy Load --> | |
<?= lazyload([ | |
'src' => base_url('image/resize_canvas?w=470&h=360&fit=inside&src=https://cdn.sagaentretenimento.com.br/uploads/2016/06/22113456521528.jpg'), | |
'alt' => 'Dev Star', | |
'class' => 'lazyload', | |
'id' => 'dev-star' | |
]); ?> | |
<!-- Lazy Load By Event --> | |
<?= lazyload([ | |
'src' => base_url('image/resize_crop?w=470&h=360&src=http://stmedia.bolsamania.com/web/img/images_uploaded/c/6/luke_skywalker_joven_620x350.jpg'), | |
'alt' => 'Dev Falcon', | |
'tag' => 'a', | |
'href' => '#', | |
'class' => 'lazyload ondemand', | |
'id' => 'dev-falcon', | |
'view' => '<p style="padding-top: 50px;"><strong>'.T_('Clique acima para carregar a imagem').'</strong></p>' | |
]); ?> | |
<!-- Lang Strings --> | |
<?= T_('Política de Privacidade'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment