Bring Your Business to Life › Support › Image Store › Album thumbnails not loading with AJAX template
Tagged: ajax, album, gallery, redirection, Thumbnails, url
- AuthorPosts
- August 14, 2013 at 3:42 pm #54649
AmplifyMS
ParticipantWould I be better off creating pages and adding the album shortcode to the specific pages or would this still have the same error when going deeper into galleries?
August 17, 2013 at 7:57 pm #54695Xpark Media
Keymasteras long as you are using ajax to load the pages you are going to have the same problem. The only way to fix it is to call the image load function after each ajax call.
the code looks like this: but you can create a new function and then call it every time.
( function( $ ) { $( 'img[data-ims-src]' ) .bind( 'scrollin', { distance: 100 }, function( ) { var img = this, $img = jQuery( img ), src = $img.attr( 'data-ims-src' ); $img.unbind( 'scrollin' ) .hide( ) .removeAttr( 'data-ims-src' ) .attr( 'data-ims-loaded', 'true' ); img.src = src; $img.fadeIn( ); } ); } )( jQuery );
August 26, 2013 at 4:58 pm #54776AmplifyMS
ParticipantHi,
Thanks for that. Unfortunately the developer of the theme has come back to me saying he is too busy to provide support. Do you know of anyone I can hire to make these changes for me (I don’t have many contacts).
Thanks
Mel - AuthorPosts
- You must be logged in to reply to this topic.