Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Answered

How to refer image in web-template through visual code

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

tried referring an uploaded image in web-template but its not showing up in a page, did cache refresh in browser still doesn't show up, is my reference path right?, or am i missing something, 

 

and do i need to use only .png images in web templates, do other formats like .gif and .jpeg allowed?

Sannadi77_0-1682515495367.png

Sannadi77_1-1682515574548.png

 

 

Categories:
  • Sannadi77 Profile Picture
    9 on at
    Re: How to refer image in web-template through visual code

    Thanks for the response, but found the solution by trail and error approach, appreciate your help, accepted your answer

  • Verified answer
    ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: How to refer image in web-template through visual code

    Hi @Sannadi77 

     

    Try this way 

     

    In portal management: 

     

    1.  Under Content  Web Files > Hit New 

    2. Provide the name 

    3. Make sure your parent page is set to "Home" 

    4. Enter the partial URL just like the Name field. 

     

    Screenshot below for reference 

     

    ragavanrajan_0-1682904284870.png

     

    To refer the image in the web template or in your HTML . Below is the reference 

    ragavanrajan_1-1682904809240.png

     

    Either you can do an absolute path like my screenshot or do a relative path like "\image.jpg" 

     

    Note: Any image file formats are allowed


    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43