web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Even Image cuts off the image Hight no matter the size

(1) ShareShare
ReportReport
Posted on by 12
I'm looking to add an image to the event portal and when I upload one it's always stretched and looks like it's zoomed in.  I found some articles on how to change the css, however this is now hosted at Microsoft.  Is there an image size that will work close to what the image is supposed to be?
 
I tried 800x200 and 5000x1406  and so far the pics that look the best are 3000 x 844, but that still cuts off most of the image hight.
 
Also is there a way to add an image to the main portal page?
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Find the code location where the image is located in the Visual Code editor and delete the parent div tag that wraps the image tag.
     
    This will show you the actual size of the uploaded image.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     
  • EH-13061857-0 Profile Picture
    12 on at
    How do you change the code online?  Where is the code?
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Go to the page of the Power Page that has the event registration form embedded in it.
     
    Locate the HTML of the target page in the left-hand directory of the Vscode editor.
    Locate the image tag in the HTML and remove the div tag wrapping this tag and save the changes.
     
    Back in Power Page, click the Sync button in the upper right corner to synchronize the changes in the code.
     
    Best Regards,
    Dengliang Li

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
ManoVerse Profile Picture

ManoVerse 127 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans