Task #95906
openImprove f:image ViewHelper
0%
Description
Currently, the f:image
ViewHelper throws an exception in case a referenced image can not be found. For local development, it's therefore required to clone the remote fileadmin. This should be improved by adding the possibility to define a fallback image, which is displayed, in case the referenced image can not be found on the system.
Imported from t3mc session "Zap the gremlins"
Updated by Benni Mack almost 3 years ago
- Status changed from New to Needs Feedback
I recommend using EXT:filefill to solve your problem, Oliver! Would that work for you?
Updated by Wolfgang Wagner almost 3 years ago
That would only conceal the problem. It can also happen in a live system that an image is suddenly no longer there, for whatever reason. And if a complete page no longer works as a result, a fallback would be better.
Updated by Benni Mack almost 3 years ago
Wolfgang Wagner wrote in #note-2:
That would only conceal the problem. It can also happen in a live system that an image is suddenly no longer there, for whatever reason. And if a complete page no longer works as a result, a fallback would be better.
OK. I see. Fallback means = empty image or no image at all?
Updated by Wolfgang Wagner almost 3 years ago
Well, that depends. No display at all (no image) is better than an exception.
Ideally, one could perhaps even display a standard image that could be configured via TypoScript, for example. Similar to what the news extension does with the article images. But of course that would be the icing on the cake ;)