Skip to main content

Notifications

Customer Insights - Journeys forum
Suggested answer

Even Image cuts off the image Hight no matter the size

Posted on by 10
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
    Dengliang Li 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
    EH-13061857-0 10 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
    Dengliang Li 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,445 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,334 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans