Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Event Registration Form Image - dimensions

(0) ShareShare
ReportReport
Posted on by 15

Hello All.

New user of D365 and trying to set up an event registration form - replacing the default image at top of form with my own.
I am struggling getting the image to render right after uploading and saving.

It is cutting off essential elements of the image.  I did a trial and error with pixel dimensions but no success.

Any ideas how to make this load and display the entire image?

I resized it to about 1200 x 800 pixels but it still cuts off my image.

Thank you.

OZ

  • Vicki Oz Profile Picture
    Vicki Oz 15 on at
    RE: Event Registration Form Image - dimensions

    Thank you kindly for taking the time to explain this.

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Event Registration Form Image - dimensions

    Hi Vicki,

    It seems that the issue is caused by default CSS rules.

    You could add a new rule to see whether the image could be center aligned.

    Banner image I uploaded:

    026843.jpg

    Default behavior

    3566.JPG

    Open src\app\components\event\event.component.scss file and add following rule to the event-banner class.

    background-position: center center;

    14.JPG

    13.JPG

    In a word, we need to download sample event website and add customization locally, then upload the modified files to Event Portal using an automation script inside the folder.

    Please refer to following community blogs for customization and deployment.

    https://community.dynamics.com/crm/b/misscrm360exploration/posts/tutorial-how-to-build-deploy-and-test-locally-dynamics-365-portal-or-dynamics-marketing-event-portal-and-connect-it-to-your-dynamics-365-instance-live

    https://community.dynamics.com/crm/b/misscrm360exploration/posts/tutorial-customize-and-deploy-dynamics-365-marketing-event-management-or-other-portal 

  • Vicki Oz Profile Picture
    Vicki Oz 15 on at
    RE: Event Registration Form Image - dimensions

    Thank you for sharing these links.  I reviewed those prior to posting.  I needed to understand why an image whose dimensions (and file size) are within range have the bottom of the image cut off.  F

  • Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans