Jump to content

sobrenome

Members
  • Posts

    2,525
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Forums

Events

Store

Gallery

Posts posted by sobrenome

  1. On 11/7/2018 at 12:03 PM, bfarber said:

    We use Instagram's oembed endpoint. You can test their URLs yourself here:

    https://api.instagram.com/oembed/?url=https://www.instagram.com/coryrichards/

    ^ Doesn't work

    Example working URL: https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/

    We don't control which Instagram URLs Instagram will support with their oembed endpoint I'm afraid.

    What’s the embed code to use in Pages custom template with the Instagram post url as field content?

  2. Hello! I could manage it! Thanks! Wonder why profile images are not loaded by lazy loading, as long as they can be big.

    I have changed the template userPhoto to add the lazy loading, but when I insert the <div data-ipsLazyLoad> wrapping the image it breaks the website design. Is it possible to add lazy loading for profile images in the next release? 

    Thanks!

  3. Let me see If I get it. For Pages $record_image load using the lazy load the code should be:

    <div data-ipsLazyLoad>
    {{if settings.lazy_load_enabled}}
    		<img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{$record_image}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt='my image alt text'>
    {{else}}
    		<img src='{$record_image}' class='ipsCoverPhoto_photo' data-action="toggleCoverPhoto" alt='my image alt text'>
    {{endif}}
    </div>

     

  4. On 3/10/2019 at 2:39 PM, Daniel F said:

    I'm not going to mention any version yet😇, please pay attention to the dev change topics , but in the future you'll be able to use a generic template for this.

    
    {template="richText" group="global" app="core" location="global" params="the content which includes the media "}
    		

    Hello, to implement lazy loading for an image I should call the image using this template just placing in the params”” the image source, like $record_image for example?

  5. 7 minutes ago, Christforums said:

    I think we need to wait for the entire site to be reindexed during which time no-index might be dropped. I suspect this process may take 8-12 weeks. Until then!

    We have deleted some of our old topics with no traffic (maybe 20.000 zumbis) some years ago and it was a disaster in google. We lost many new visitors.

×
×
  • Create New...