Facebook-Album-Browser icon indicating copy to clipboard operation
Facebook-Album-Browser copied to clipboard

if number of images in the folder is < photosPageSize

Open zsavicreative opened this issue 7 years ago • 0 comments

the is more of a request then an issue.. This plugin is absolutely amazing. and kudos to your coding skills. Thanks a bunch for this.

it causes the "more photos" button to still appear and doesn't get removed even after click.

the situation being single page displaying multiple albums using the same FacebookAlbumBrowser function. So when using a specific number for photosPageSize which is ideal for a larger quantity album creates this unhandled scenario with displaying 'more photos' button even if there are no more photos to show.

I tried to make changes to jquery.fb.albumbrowser.js but I've had no luck with adding a if statement to check if all images are being displayed to hide more photos button.

Also in my scenario I've created a structure where by each album requested on the page has its own 'more photos' button.

If you have issues recreating the scenario I'll be happy to show you what I'm talking about... I tried to recreate it in code pen but was unable due to only having access to one dom instance

zsavicreative avatar Jul 17 '17 09:07 zsavicreative