';
content = content.replace('{s}', '« ' + sanitizer.sanitize(input.value) + ' »');
} else {
var cleanText = sanitizer.sanitize(suggestion.text)
var boldText = cleanText.replace(reg, function (optionText) {
return '' + optionText + ''
});
var subText = sanitizer.sanitize(suggestion.subText);
subText = subText.replace(suggestion.artistName, function (optionText) {
return optionText.replace(reg, function (boldText) {
return '' + boldText + ''
})
});
var cssClass = suggestion.type === 'artist' ? 'img-circle border' : '';
content = '
' +
'' +
'
' +
'' + boldText + '' +
'' + subText + '' +
'
' +
'
';
}
itemElement.innerHTML = content;
return itemElement;
},
onSelect: function (element, autocomplete) {
document.dispatchEvent(new CustomEvent('am.gtag.search', {'detail': {'term': autocomplete.value}}))
savedSearch(sanitizer.sanitize(autocomplete.value), element);
},
emptyMsg: 'No results found.',
preventSubmit: false,
showOnFocus: true,
// Required to set the final position of the results
// By default result tag is applied at the bottom of the document with fixed style
// when we want it in the defined tag ( Styles are also customized )
customize: function (input, inputRect, container, maxHeight) {
resultContainer.append($(container))
}
};
}
function savedSearch(string, element) {
if (!element.url) {
element.url = url.replace("term", string)
}
var formData = new FormData();
formData.append('string', string);
formData.append('nbResults', nbResults);
try {
if (navigator.sendBeacon) {
navigator.sendBeacon('/en/saved--search/artwork', formData)
} else {
var xhr = new XMLHttpRequest();
xhr.open('post', '/en/saved--search/artwork', false);
xhr.send(formData);
}
} catch (e) {
}
window.location.href = element.url
}
document.addEventListener('am.gtag.search', function (e) {
var term = e.detail.term
gtag("event", "search", {
search_term: term
});
});
})
})();
Original images secure archiving 2m734z
Protect your creations ! 4tf3i
You can rest easy now, your images are safe on the "ArtMajeur cloud". You don't fear thefts, fires, floods or hard disk crash anymore. All your data is sheltered in a safe place.
Securely archive all your images 3k6u6j
Never loose an image again ! Keep all your original image files on our secure servers, you can them at anytime. Your original images are archived in our servers in an ultra-secure environment. You can recover and your original files at any moment.
The ArtMajeur Cloud 3p4m1
All data loaded on ArtMajeur is stored on class N4 facilities respecting APSAD R4 standard. Access is strictly limited and secure against all attempts of physical or digital intrusions. All data is stored redundantly (the data are replicated up to 5 times using the RAID technology).
images backups 1m6i5h
Your original images are archived in our servers in an ultra-secure environment. You can recover and your original files at any moment.
the web version
the original file
ArtMajeur
Newsletter
Receive our newsletter for art lovers and collectors