Skip to content
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

resizeWidth doesn't always work #2287

Open
jordanade opened this issue Mar 25, 2024 · 0 comments
Open

resizeWidth doesn't always work #2287

jordanade opened this issue Mar 25, 2024 · 0 comments

Comments

@jordanade
Copy link

Describe the bug
resizeWidth doesn't always work to resize a large jpeg image. No console errors appear.

Config is

{
	resizeHeight: 5120,
	resizeWidth: 5120,
        resizeQuality: 0.9,
	previewsContainer: '.selectable-image-list',
	previewTemplate: `<div class="selectable-image-item"><img data-dz-thumbnail /></div>`,
	clickable: '.upload-images',
	thumbnailWidth: 200,
	thumbnailHeight: null,
	url: `/sites/${window.site_identifier}/images/storeMultiple`,
	params: { _token: $('[name="csrf-token"]').attr('content') },
	uploadMultiple: true,
	parallelUploads: 4,
	addRemoveLinks: false,
	acceptedFiles: ".jpg,.jpeg,.png,.svg,.webp"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant