-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
different output preview dimension from oc10 backend #2069
Labels
Comments
11 tasks
@refs please close this issue if the behaviour is correct is ocis |
|
kiranparajuli589
changed the title
different output preview dimension with oc10 backend
different output preview dimension from oc10 backend
May 26, 2021
IIRC, @C0rby , this is the expected behavior in oCIS, right? (https://github.com/owncloud/ocis/blob/master/thumbnails/pkg/thumbnail/resolutions_test.go#L67-L80) |
Merged
11 tasks
The ocis thumbnailer has now more features. Closing here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a request for a thumbnail is made with the dimensions
x=1,y=32
thenoC10
server responds with an image1px
wide and32px
highocis
, the larger value from the two dimensions is taken to recalculate the smaller dimension to match the original aspect ratio.Setup
export ACCOUNTS_HASH_DIFFICULTY=4
export OCIS_URL='https://localhost:9200'
export STORAGE_HOME_DRIVER='owncloud'
export STORAGE_USERS_DRIVER='owncloud'
export STORAGE_DRIVER_OCIS_ROOT='/tmp/ocis/storage/users'
export STORAGE_DRIVER_LOCAL_ROOT='/tmp/ocis/local/root'
export STORAGE_DRIVER_OWNCLOUD_DATADIR='/tmp/ocis/owncloud/data'
export STORAGE_METADATA_ROOT='/tmp/ocis/metadata'
export STORAGE_HOME_DATA_SERVER_URL='http://localhost:9155/data'
export STORAGE_USERS_DATA_SERVER_URL='http://localhost:9158/data'
export WEB_UI_CONFIG=$HOME/www/ocConfigs/ocis-config.json
export WEB_ASSET_PATH=$HOME/www/web/dist
export IDP_IDENTIFIER_REGISTRATION_CONF=$HOME/www/ocConfigs/idp.yml
export PROXY_ENABLE_BASIC_AUTH=True
export OCIS_LOG_LEVEL='warn'
export ACCOUNTS_DATA_PATH="/tmp/ocis-accounts/"
export SETTINGS_DATA_PATH="/tmp/ocis/settings"
export STORAGE_SHARING_USER_JSON_FILE="/tmp/ocis/shares.json"
export STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR='localhost:6379'
BRANCH=master
The text was updated successfully, but these errors were encountered: