New Landing How can we help? Themeforest Theme Support Uplift Product images only appear when re-sizing screen

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Uplift
  • #300416
    aphex73
    Member
    Post count: 45

    Product images do not display when clicking into a product page. Only when the page is re-sized do they then show?

    I’ve been through disabling and enabling the plugins and all the usual tricks…none the wiser…

    Would greatly appreciate your insight.

    #300574
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    We are providing a fix for this in a update scheduled for next week.

    If you need it sooner open the file functions.js locate at themes/uplift/js
    and around the line 3718 add this line of code

    $window.trigger(‘resize’);

    It should look like this after adding that line of code.
    https://www.dropbox.com/s/hr9ri34y6y6gg3m/Screenshot%202016-11-03%2018.28.09.png?dl=0

    Hope it helps.

    -Rui

    #300581
    aphex73
    Member
    Post count: 45

    Thanks, I saw that. It still doesn’t work…no change unfortunately.

    Are there any other suggestions?

    #300583
    aphex73
    Member
    Post count: 45

    el.find(‘.product-slider-image’).each(function(){
    var imgClass = (this.width/this.height >= 1) ? ‘wide’ : ‘tall’;
    jQuery(this).addClass(imgClass);
    });
    $window.trigger(‘resize’);
    },
    onBeforeSlide: function () {
    if (hasProductZoom) {
    jQuery(‘.zoomContainer’).remove();
    }

    },
    onAfterSlide: function () {
    if ( isMobileAlt && hasProductZoomMobile ) {
    jQuery(‘.product-slider-image’).each(function() {
    jQuery(this).panzoom(‘reset’);
    });

    #300584
    David Martin – Support
    Moderator
    Post count: 20834

    @aphex73 – the update has gone out to fix this.

    Don’t forget, when changing the functions.js file you must have the Performance Options set to Off from within the theme options, else it loads a different file, the minified version – hence no change.

    THanks.

    #300586
    aphex73
    Member
    Post count: 45

    That completely slipped my mind. Thanks Martin!!

    I’ve got pre-minified scripts turned off and all works well.

    #300587
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Nice, glad it’s sorted.

    -Rui

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register