- Implement Alchemy v1.4
Field
changes - Make
MediaRaw#addFile(url)
support data uris too
- Add
getFile()
method toMediaFile
andMediaRaw
documents
- Upgrade to Alchemy v1.4.0
- Upgrade
@11ways/exiv2
to v0.7.0
- Let
Media#imageUrl()
helper handle image instructions that start with a slash
- Remove old reference to
chimera/mediafield
script - Add upload percentage feedback to
al-file
element
- By default, conceal SVGs that have the
graphics-symbol
role from assistive technologies
- Add
Media#downloadImage()
method to the Media helper - Add
al-icon-stack
element, to stack items on top of each other - Fix
svg
files not being able to be uploaded or served - Round image resizes to the highest 100 pixels
- Add
max_page_width
plugin option, which will be applied to the user's max screen size
- Make
al-icon
center its contents - Make the file upload action use the extra given filename
- Rename most route names & make them not-postponable
- Cascade
al-svg
role attribute to childsvg
elements - Add
img
role fallback when usinggraphics-symbol
- Also add default role to
al-icon
element - Make
al-file
catch errors and report them to a possibleal-field
parent - Add the
accept
attribute toal-file
- Add the
accept
option toFile
fields - Add
width_hint
field toimage
widget. This field allows users to specify the approximate maximum width of an image in pixels or as a percentage of the total page width. - Add
lazy_load
field toimage
widget
- Use the
al-
prefix for custom elements - Rename
al-ico
toal-icon
- Allow selecting existing uploaded files in an
al-file
element
- Add the
Media#loadIconFont()
helper method - Make the
image
route serve up filetype thumbnails for non-images - Add file preview image to the chimera edit view of MediaFile
- Add thumbnail column to MediaFile chimera index view
- Add
prefix
parameter to theMediaFile#data
route
- Fix
al-file
element showing wrong buttons on load - Always add
role="presentation"
to images that get a simple placeholder - Add support for Fontawesome Pro with the
media.fontawesome_pro
setting
- Upgrade to Fontawesome 6
- Update
al-file
element - Allow supplying a custom route for the !Media directive with
+
variables
- Do not use
cwebp
if the binary could not be found
- Add Media directive, which will load extra info (like alt & title attribute) for an image element automatically
- If an image identifier is a valid hexadecimal string, it is assumed a record is wanted. If not, it's a static image. (We only used to check for ObjectIDs)
- Throw error when path to serve is not a string
- Make compatible with Alchemy v1.1.0
- Always convert image to webp if supported by the browser
- Accept vw & vh instead of % in width & height parameters
- Allow downloading original file
- Remove the
faced
support
- Fix generating thumbnail for records without a MediaRaw
Media#image()
helper now accepts documents, and will use their alt & title tag if available- Add
alt
andtitle
field toMediaFile
, which can now be edited in chimera - Also serve images with "inline" disposition & filename
image-set
still has no support in Firefox & IE, so...- If
window.devicePixelRatio
is available it's stored in themediaResolution
cookie, and then THAT will be used if an image request has no DPR set - Default resolution basis to 1920x1080 instead of 1024x768
- Temporary files will now include an 'alchemy_' and pseudohex prefix
- Placeholders are now 300x300 by default
- Add
origin
field to MediaRaw model - Upgrade
veronica
version, will no longer make images bigger when resizing
- Dependency updates
- Media field fixes
- Add media helpers
- Add placeholder methods
- Allow percentage widths (of user's creen or maxWidth)
- Initial commit