2020-03-05, 02:31 PM
2020-03-05, 03:12 PM
Just use CSS:
Open
You can change it to whatever you like.
Open
global.css
for your theme and find.scaleimages img {
max-width: 100%;
}
You can change it to whatever you like.
2020-03-05, 04:23 PM
What do you mean exactly, what's you intention?
1) Max dimension on image upload?
Then you need to check the file properties via PHP code and allow or dismiss files not matching your defined dimension.
2) Max dimension to display?
Then you can simply use CSS to resize, as Wildcard mentioned above.
[ExiTuS]
1) Max dimension on image upload?
Then you need to check the file properties via PHP code and allow or dismiss files not matching your defined dimension.
2) Max dimension to display?
Then you can simply use CSS to resize, as Wildcard mentioned above.
[ExiTuS]
2020-03-05, 04:35 PM
Sorry I wasn't very clear. I have a user that says his attachments are failing because the image size is to large. So yes 1) Max dimension on image upload?
Is there a php setting for this?
Is there a php setting for this?
2020-03-05, 04:46 PM
No, there is no settings for image dimensions on uploading attachments.
In ACP > Configuration > Attachment Types you can set the file size only, but no dimensions.
But you can define the max dimensions of Avatars.
What image file is being uploaded (format, file size, original dimension)?
Can you reproduce this upload by yourself?
[ExiTuS]
In ACP > Configuration > Attachment Types you can set the file size only, but no dimensions.
But you can define the max dimensions of Avatars.
What image file is being uploaded (format, file size, original dimension)?
Can you reproduce this upload by yourself?
[ExiTuS]
2020-03-05, 09:16 PM
I tried to to reproduce but with no luck. I'm beginning to think its either an invalid file or its over the attachment size. Thanks for your help.