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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans