Main picture missing in djangocms-light-gallery

不问归期 提交于 2021-01-29 08:49:47

问题


I encountered a problem using the djangocms-light-gallery from https://pypi.org/project/djangocms-light-gallery/.

After following the installation steps described in the above posted link, everything seemed to work as expected at first sight. The plugin appears as "Light Gallery" among the other components, thumbnails are displayed correctly, the gallery view opens, etc.

The only thing that is missing is the main picture in gallery view. I have no idea how to fix this..

I receive the following error message:

Page not found (404)
Request Method:     GET
Request URL:    http://localhost:8000/en/mypage/filer_public/e8/59/e859299d-5408-4f37-bedc-6005db1833a8/mypicture.jpg/
Raised by:  cms.views.details

Using the URLconf defined in mypage.urls, Django tried these URL patterns, in this order:

    en/ ^jsi18n/$ [name='javascript-catalog']
    ^static/(?P<path>.*)$
    en/ ^admin/
    en/ ^ ^cms_login/$ [name='cms_login']
    en/ ^ ^cms_wizard/
    en/ ^ ^(?P<slug>[0-9A-Za-z-_.//]+)/$ [name='pages-details-by-slug']
    en/ ^ ^$ [name='pages-root']
    en/ ^ ^$ [name='home']
    en/ ^sitemap\.xml$
    ^media/(?P<path>.*)$

The current path, /en/mypage/filer_public/e8/59/e859299d-5408-4f37-bedc-6005db1833a8/mypicture.jpg/, didn't match any of these.

Can someone help?

来源:https://stackoverflow.com/questions/61954096/main-picture-missing-in-djangocms-light-gallery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!