Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!empty($gallery)){
- foreach($gallery as $img){
- $img = $img['sizes']['large'];
- echo "<div style=\"background: url($img) center no-repeat; background-size: cover;\"></div>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement