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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Moderator

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans