Jump to content
DevFuse Forums
  • Sign in to follow this  

    Image display issue


    Michael
    • Fixed IP.Board Version: IP.Board 4.3.x

    If you open acp > theme editor > collections > front > view > view.

    Find:

                        <ul class='ipsClearfix' data-role="carouselItems">
                            {{foreach $item->images() as $id => $image}}
                                <li class='ipsCarousel_item ipsAreaBackground_reset ipsPad_half'>
                                    <span style="background-image: url( {expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), \IPS\File::get( 'collections_ItemImages', $image->thumb_location )->url )"} )" class="ipsThumb ipsThumb_medium ipsThumb_bg ipsCursor_pointer" data-ipsLightbox data-ipsLightbox-group="item_{$item->id}" data-fullURL="{file="$image->url" extension="collections_ItemImages"}">
                                        <img src="{file="$image->thumb_location" extension="collections_ItemImages"}" alt="" {{if $item->thumbnail == $image->thumb_location}}itemprop='image'{{endif}}>
                                    </span>
                                </li>
                            {{endforeach}}
                        </ul>

    Replace With:

                    <div class='ipsCarousel_inner'>
                        <ul class='ipsClearfix' data-role="carouselItems">
                            {{foreach $item->images() as $id => $image}}
                                <li class='ipsCarousel_item ipsAreaBackground_reset ipsPad_half'>
                                    <span style="background-image: url( {expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), \IPS\File::get( 'collections_ItemImages', $image->thumb_location )->url )"} )" class="ipsThumb ipsThumb_medium ipsThumb_bg ipsCursor_pointer" data-ipsLightbox data-ipsLightbox-group="item_{$item->id}" data-fullURL="{file="$image->url" extension="collections_ItemImages"}">
                                        <img src="{file="$image->thumb_location" extension="collections_ItemImages"}" alt="" {{if $item->thumbnail == $image->thumb_location}}itemprop='image'{{endif}}>
                                    </span>
                                </li>
                            {{endforeach}}
                        </ul>
                    </div>

     

    Sign in to follow this  


    User Feedback

    Recommended Comments



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

    Pending = We are still working on this report.

    Fixed = The issue has been fixed and the resolution will be available in the next version.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

×
×
  • Create New...