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

Community site session details

Session Id :
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

I have the same question (0)
  • Vicki Oz Profile Picture
    15 on at
    RE: Event Registration Form Image - dimensions

    Thank you kindly for taking the time to explain this.

  • Verified answer
    cloflyMao Profile Picture
    25,210 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
    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
    11,321 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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 394

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 106 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans