You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2021. It is now read-only.
Background: I'm hacking up an AngularJS version of my views and noticed some logic in my CakePHP views which could be abstracted to the Model. Purely an idea at the moment.
In my View/Helper I check to see if an image is available prior to attempting to display it. If it's not available I'll render a static placeholder image.
Working on client side views, I see value in the Uploader.Attachment behavior having a fallbackImage setting. Reducing view logic. Potentially handled via an afterFind().
If no image exists and the column settings describes an fallbackImage, provide the fallbackImage as the actual result.