Skip to main content

Notifications

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?
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Even Image cuts off the image Hight no matter the size
    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
  • EH-13061857-0 Profile Picture
    12 on at
    Even Image cuts off the image Hight no matter the size
    How do you change the code online?  Where is the code?
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Even Image cuts off the image Hight no matter the size
    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
     

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans