Last active
May 19, 2016 13:26
-
-
Save alxpsr/ec7906df16e80bf77d93e7f769f1969d to your computer and use it in GitHub Desktop.
Check no_photo
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
{% set no_photo_path = 'bundles/custom/Brands/honda/images/no_photo.svg' %} | |
<img src="{{ nophoto(car.mainPhoto ? car.mainPhoto.fullPath : null, asset(no_photo_path)) }}" alt=""> | |
NewCarsBundle/Twig/PhotoHelper.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment