A method for providing for a progressive refinement of a scalable image content of a high efficiency file format (HEIF) comprising: - obtaining a coded base layer image of the scalable image and a coded enhancement layer image of the scalable image, wherein the coded enhancement layer image depends on the coded base layer image; - determining that, in the case that a decoded enhancement layer image is to be displayed, a decoded base layer image can be displayed first; and in response to said determination: indicating, in the HTML 5 code, that in the case of the second HEIF container file is to be displayed, the base layer image of the first HEIF container file can be displayed prior to the enhancement layer image of the second HEIF container file to achieve progressive refinement; including the coded base layer image into a first HEIF container file and including the coded enhancement layer image into a second HEIF container file , wherein the method is characterized in that the response to said determination further comprises; indicating, in a hyper-text markup language (HTML 5) code, that the first HEIF container file and the second HEIF container file are alternatives; and indicating, in the HTML 5 code, that the second HEIF container file depends on the first HEIF container file. - obtaining a coded base layer image of the scalable image and a coded enhancement layer image of the scalable image, wherein the coded enhancement layer image depends on the coded base layer image; - determining that, in the case that a decoded enhancement layer image is to be displayed, a decoded base layer image can be displayed first; and in response to said determination: indicating, in the HTML 5 code, that in the case of the second HEIF container file is to be displayed, the base layer image of the first HEIF container file can be displayed prior to the enhancement layer image of the second HEIF container file to achieve progressive refinement; including the coded base layer image into a first HEIF container file and including the coded enhancement layer image into a second HEIF container file , wherein the method is characterized in that the response to said determination further comprises; indicating, in a hyper-text markup language (HTML 5) code, that the first HEIF container file and the second HEIF container file are alternatives; and indicating, in the HTML 5 code, that the second HEIF container file depends on the first HEIF container file. indicating, in the HTML 5 code, that in the case of the second HEIF container file is to be displayed, the base layer image of the first HEIF container file can be displayed prior to the enhancement layer image of the second HEIF container file to achieve progressive refinement; including the coded base layer image into a first HEIF container file and including the coded enhancement layer image into a second HEIF container file , wherein the method is characterized in that the response to said determination further comprises; indicating, in a hyper-text markup language (HTML 5) code, that the first HEIF container file and the second HEIF container file are alternatives; and indicating, in the HTML 5 code, that the second HEIF container file depends on the first HEIF container file. <EOS>