Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8939033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:45:03+00:00 2026-06-15T10:45:03+00:00

I have uploaded two Resources – a.HTML and b.PNG . In a I’d like

  • 0

I have uploaded two Resources – a.HTML and b.PNG. In a I’d like to display b and according to this blog I should go like this.

<img src="$webresource:b.png">

However, I’d like to know if there’s an other syntax (preferably one that doesn’t includes the $webresource: part). I’ve tried with some different combinations but didn’t really succeeded.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:45:03+00:00Added an answer on June 15, 2026 at 10:45 am

    The article you link to explains how to reference a web resource from within the Ribbon or Site Map. This is different to your goal which is to reference one web resource from another.

    The CRM SDK states:

    When referencing a web resource from areas that do not support using
    the $webresource: directive,…

    (Note that Web Resources themselves do not support the $webresource: directive)

    …a relative URL can be used. To enable
    this, we recommend that you use a consistent naming convention for the
    web resources that reflect a virtual file structure. The solution
    publisher’s customization prefix will always be included as a prefix
    to the name of the web resource. This can represent a virtual ”root”
    folder for all web resources added by that publisher. You can then use
    the forward slash character (/) to simulate a folder structure that
    will be honored by the web server.

    So if you have two web resources called:

    1. new_/html/mypage.html
    2. new_/img/myimage.png

    In mypage.html you can refer to the image thusly:

    <img src="../img/myimage.png"/>
    

    By implication, if your resources (a.HTML and b.PNG) do not have virtual paths, it should be sufficient to reference the image like this (though I strongly recommend using the aforementioned Virtual Path convention):

    <img src="b.PNG"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've uploaded two web resources, a.HTML and b.JS . In the HTML document I
what's the problem there, I have uploaded this video to server, but now its
I have uploaded a same file to two different sites it had 30% time
I'm having trouble with extra padding (4px) between two IMG tags. This occurs in
I have recently uploaded two apps on the android market, with one already there
I have two pages - a simple HTML code example page from a jQuery
I have two master pages and a content page. On my local machine this
i have uploaded an app to google play but after two days stil cant
I have two patches on gerrit and I would like to make the unmerged
I have two tables, image and video . I want to display all data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.