Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amp [src]="imageUrl" not loading image but src="https://preview.amp.dev/static/inline-examples/images/image1.jpg" working fine in angular #39945

Open
Kanhaiya2909 opened this issue Apr 4, 2024 · 0 comments

Comments

@Kanhaiya2909
Copy link

Kanhaiya2909 commented Apr 4, 2024

Description

I am try to load image in angular :- https://preview.amp.dev/static/inline-examples/images/image1.jpg

My .ts file have imageUrl="https://preview.amp.dev/static/inline-examples/images/image1.jpg"

try 1 (Not loading image) :- <amp-img [src]="imageUrl" width="720" height="1280" layout="responsive">
try 2 (Not loading image ):-
Try 3 (Working fine ):-

Reproduction Steps

This is in my localhost I just attached screenshot
Screenshot 2024-04-04 at 1 58 26 PM

Relevant Logs

No response

Browser(s) Affected

No response

OS(s) Affected

No response

Device(s) Affected

No response

AMP Version Affected

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants