Second step, move all images and js library on the common-theme component and move the dedicate webapp image (for continuous compatibility) The components image is removed from framework. Warning this commit raise the problem that many images has been uploaded on the framework directory (properties image.server.path and image.management.path) and we need to found a solution to set them out static folder to a dynamic folder like runtime. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806084 13f79535-47bb-0310-9956-ffa450edef68
49 lines
2.0 KiB
Properties
49 lines
2.0 KiB
Properties
###############################################################################
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
###############################################################################
|
|
|
|
# ==== Catalog Application Properties ====
|
|
|
|
|
|
# -- Image upload path on the server
|
|
#FIXME the image server path need to be move on runtime
|
|
image.server.path=${sys:getProperty('ofbiz.home')}/themes/common/images/webapp/images/${tenantId}
|
|
|
|
# -- The prefix to put on auto-generated image urls (can be relative or absolute, whatever you want)
|
|
image.url.prefix=/images/${tenantId}
|
|
image.filename.format=${location}/${id}/${type}
|
|
image.filename.additionalviewsize.format=${location}/${id}/${viewtype}/${sizetype}
|
|
|
|
# -- Which default top category to display... --
|
|
top.category.default=CATALOG1
|
|
all.product.category=CATALOG1
|
|
|
|
# Flag to re-active products when they are received
|
|
reactivate.product.from.receipt=Y
|
|
|
|
# Image upload path on the image management
|
|
#FIXME the image management path need to be move on runtime
|
|
image.management.path=${sys:getProperty('ofbiz.home')}/themes/common/webapp/images/products/management
|
|
image.management.url=/images/products/management
|
|
image.management.nameofthumbnail=-100
|
|
image.management.autoApproveImage=Y
|
|
image.management.multipleApproval=N
|
|
|
|
# Automatic product price currency conversion
|
|
convertProductPriceCurrency=false
|