You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my part i use many images not all with same size ...
I only want to force the height to make them all biggest but not go out of the carrousel.
For this i change your fonction like this:
forcedImageHeightOnly: 0, // Forced height only
forcedImageWidthOnly: 0, // Forced width only
function forceImageDimensionsIfEnabled() {
if (options.forcedImageWidth && options.forcedImageHeight) {
data.itemsContainer.find('img').each(function () {
$(this).width(options.forcedImageWidth);
$(this).height(options.forcedImageHeight);
});
} else if (options.forcedImageHeightOnly) {
data.itemsContainer.find('img').each(function () {
$(this).height(options.forcedImageHeightOnly);
});
} else if (options.forcedImageWidthOnly) {
data.itemsContainer.find('img').each(function () {
$(this).width(options.forcedImageWidthOnly);
});
}
}
I think it can some other people ...
The text was updated successfully, but these errors were encountered:
For my part i use many images not all with same size ...
I only want to force the height to make them all biggest but not go out of the carrousel.
For this i change your fonction like this:
I think it can some other people ...
The text was updated successfully, but these errors were encountered: