
## AmpImage class



The AmpImage type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|AmpImage(width, height)|Initializes a new instance of the AmpImage class|
## Properties
| Name | Description |
| :- | :- |
|required_script|Required script that muct be added to head section.|
|attributes|AMP provides a set of common attributes that are extended to many AMP components.|
|fallback|A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element.|
|placeholder|The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element.|
|src|Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file|
|alt|A string of alternate text, similar to the alt attribute on img.|
|is_valid|Indicates whether this image is valid of AmpImage.|
## Methods
| Name | Description |
| :- | :- |
|to_amp_html()|  |
|to_html()|  |

### See Also

* namespace [aspose.email.amp](/email/python-net/aspose.email.amp/)
* assembly [Aspose.Email](/email/python-net/)

