Task #95906
open
Improve f:image ViewHelper
Added by Oliver Bartsch about 3 years ago.
Updated almost 3 years ago.
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"
- Status changed from New to Needs Feedback
I recommend using EXT:filefill to solve your problem, Oliver! Would that work for you?
@Benni Mack
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.
Wolfgang Wagner wrote in #note-2:
@Benni Mack
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?
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 ;)
Also available in: Atom
PDF