I would like Image Gallery, with Media module and Colorbox.
I installed Media (7.x-2.x latest commit), Colorbox (7.x-1.x-dev) with Colorbox library, File entity (7.x-2.x latest commit) and Media Colorbox (7.x-1.0-rc1), and navigate admin/structure/file-types/manage/image/file-display and enabled Media Colorbox display.
If I navigate the image page (for example file/109), PHP fatal error.
PHP log attached.
| Comment | File | Size | Author |
|---|---|---|---|
| php_errors.log_.txt | 10.57 KB | nevergone |
Comments
Comment #1
kmadel commentedPlease provide your Media Colorbox formatter settings and the File entity View mode settings for the view modes you are using with the Media Colorbox formatter.
Comment #2
alan d. commentedThis is a recursive view due to these:
It may be an instance settings misconfiguration, but why are you building the file view to load a formatter rather than just a file load?
Reopening as this by itself is unnecessary processing afaick, and also runs into the potential of going all so badly wrong due to recursive loops.
Comment #3
kmadel commentedComment #4
kmadel commentedI was actually able to reproduce this, the fix is that the 'Media Colorbox' formatter will no longer be available for the Default File display. Instead, if you want to be able to init a Colorbox from an File entity page, you will need to use the new 'Colorbox Link' formatter on a 'text' or 'image' field that you will have to add to the file entity file type in question.