Broadleaf是否可以在媒体资源中上传相同的图像并覆盖图像 [英] Broadleaf can i upload same image in Media asset and override images
本文介绍了Broadleaf是否可以在媒体资源中上传相同的图像并覆盖图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在管理端以相同名称的图片(例如x.png)
上传媒体资产时,此图片将以新名称(x-1.png)创建。
When I upload a media asset in admin side by same name image (like x.png) this image will create with new name (x-1.png).
我想用新图像替换该图像。我该怎么办?
I want to replace this image with new image. How can I do that?
推荐答案
您需要先通过设置禁用缓存:
you need disable cache first by set:
blPU.hibernate.cache.use_second_level_cache=false
blPU.hibernate.cache.use_query_cache=false
blCMSStorage.hibernate.cache.use_query_cache=false
blCMSStorage.hibernate.cache.use_second_level_cache=false
在core /.../ default.properties中
in core/.../default.properties
或在admin /和site / properties文件中覆盖它。
or override it in admin/ and site/ properties files.
这篇关于Broadleaf是否可以在媒体资源中上传相同的图像并覆盖图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文