You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
LordRazen
changed the title
optional arguments "preview_width" and "preview_height" for field type "media" are missing
Optional arguments "preview_width" and "preview_height" for field type "media" are missing
Aug 11, 2021
LordRazen
changed the title
Optional arguments "preview_width" and "preview_height" for field type "media" are missing
Optional arguments for field type "media" are missing
Aug 11, 2021
Description for Enhancement
Since I updated my field types due to this issue (https://github.com/vdm-io/Joomla-Component-Builder/issues/788) a minute ago, I recognized two optional attributes are missing for the field type "media".
I work with very small images, so the default size of 200px height stretches the images a lot...
Enhancement:
Add the missing parameters to the Field Type "media" / the field type updater:
Properties:
preview_width
preview_height
Adjustable: true
Mandatory: false
Translateable: false
Value: 200
Description:
(optional) sets the max-width of preview image (default: "200").
(optional) sets the max-height of preview image (default: "200").
Here's the official Joomla Info:
https://docs.joomla.org/Media_form_field_type
The text was updated successfully, but these errors were encountered: