Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

HELP LIQUID Dynamic 365 Portals

(0) ShareShare
ReportReport
Posted on by

Hey!

I want put some images in a carrousel and I need a little help with LIQUID

My code in HTML just be there:

<div class="item">
   <a href="tr_rodoviario.html">
        <div class="item-img item-img-desktop" style="background:url(img/hpcontent/slider_roadfreight.jpg) bottom right no-repeat; background-size:cover;"></div>
        <div class="item-img item-img-resp" style="background:url(img/hpcontent/slider_roadfreight_mobile.jpg) right bottom no-repeat; background-size:cover;"></div>
    </a>
</div>

I did the images upload in "web files", but I don't know how can I this with LIQUID. 

 


  • Community Member Profile Picture
    on at
    RE: HELP LIQUID Dynamic 365 Portals

    YES! thank you so so much!

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: HELP LIQUID Dynamic 365 Portals

    Just tested this in my demo portal I can see image, this image can be access by using URL from portal "demo.microsoftcrmportals.com/homehero.jpg"

    <div style='background-image:url(~/homehero.jpg)'>This is demo</div>

    imagedemo.PNG

    First try to access your image from the portal directly on browser after that you can use that url

    Hope it will help.

  • Community Member Profile Picture
    on at
    RE: HELP LIQUID Dynamic 365 Portals

    Thanks! Doesn't appear the images yet. But now, I know that I need to do this.

    I need do something more to images?

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: HELP LIQUID Dynamic 365 Portals

    Hi,

    Once you added your image as web files, you can set Assets as parent page and can refer that like below

    <div class="item-img item-img-desktop" style="background:url(~/Assets/slider_roadfreight.jpg) bottom right no-repeat; background-size:cover;"></div>

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans