';
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
});
});
})
})();
Read 3 exclusive articles related to "Generate" on ArtMajeur magazine
How does an AI generate an image? 6d1q71
Opinions • May 20, 2025 • 4 minutes read
Artificial intelligence can now generate highly realistic images from simple text descriptions. This is possible thanks to training on millions of images and a process that gradually transforms noise into an image.
A New Era for AI Art: The Launch of The AI Art Magazine 6y1r6h
AI Art • 3 minutes read
The world of art has embraced a groundbreaking publication dedicated entirely to artificial intelligence-generated art. The AI Art Magazine, a 176-page biannual release, has made its debut, aiming to document and celebrate the fusion of human creativity and intelligent machines...
Artmajeur.com No Longer Permits Crawlers to Conduct AI Machine Learning (Protecting Artists' Creative Rights) g263p
AI • 3 minutes read
Protecting Artists' Creative Rights: Artmajeur has decided to disallow crawlers from conducting machine learning on our website to protect the intellectual property and creative rights of artists. The decision was made to prevent crawlers from stealing artists' images and other content for commercial purposes without their permission. Artmajeur is committed to providing a safe and ive environment for artists to share their work and connect with others in the art community.
Categories 404p70
ArtMajeur
Newsletter
Receive our newsletter for art lovers and collectors
We respect your privacy. 6m3526
Welcome to ArtMajeur! 1e116m
A redirection has been made from YourArt to ArtMajeur, as the two platforms have merged.
All content, artworks, and artist spaces are now available here.
You can continue browsing on ArtMajeur, the largest online art platform in the world.
Love art? 154z1o
Get our selection of the best art delivered right to your inbox!
Early access to new works
Selection of established and emerging artists with promising investment potential