Add hero images to your articles.
To embed a hero image:
- Upload your hero image to CoreMedia
- Check the "use original image" box
- Embed Full the image at the top of your article
- Prefix it with the #heroimage hash, as shown below:
#heroimageWIDTH21remHEIGHT21rem
[embed illustration]
You must include the height and width of the image. This specifies the max size of the image, and ensures it scales down in the right ratio for mobile.
Transparent video must be uploaded to the FTP server manually.
There must be two videos:
- mp4 - for Safari
- webm - for everything else
To get this working:
- Rename your videos to have the same name, all lowercase & alphanumeric. e.g. myvideo.webm & myvideo.mp4
- Upload your videos to
http://abc.net.au/res/sites/news-projects/[your-folder] - Include the following hash:
#herovidtransparentROOTyourROOTfolderVIDmyvideoWIDTH21remHEIGHT21rem
Specify your folder as an array, in this case ROOTyourROOTfolder resolves to your-folder.
You must include the height and width of the video. This specifies the max size of the video, and ensures it scales down in the right ratio for mobile.
Transparent video must be uploaded to the FTP server manually.
To get this working:
- Rename your svg to be all lowercase & alphanumeric. e.g. myanimation.svg
- Upload your svg to
http://abc.net.au/res/sites/news-projects/[your-folder] - Include the following hash:
#herosvgROOTyourROOTfolderSVGmysvgWIDTH21remHEIGHT21rem
Specify your folder as an array, in this case ROOTyourROOTfolder resolves to your-folder.
You must include the height and width of the svg. This specifies the max size of the video, and ensures it scales down in the right ratio for mobile.