Questions tagged [media-library]

Anything related to media stored in the database or file system and created as items in the Media Library.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

What are the alternatives to Sitecore 9.3 SXA image gallery components [closed]

I am trying to find some alternatives to built in Sitecore SXA image gallery component. So far I haven't found many. This is to evaluate if it makes sense to buy some component that already out there ...
Mohammad Hoque's user avatar
0 votes
1 answer
67 views

Sitecore Media Items not showing up in List view of dialogue box

I have recently updated my local Sitecore setup to 10.3 from 10.1 and found out that the media items are not loading in the list view of the Select Media dialogue box while the tree view working fine. ...
Tabbuu's user avatar
  • 75
0 votes
1 answer
17 views

How are Attach Permissions Governed for Image Types [duplicate]

We have some elevated users who occasionally need to update particular images in our system. These images reside in our media library and the users (through their roles) have been granted every ...
Ron Ritchie's user avatar
1 vote
2 answers
130 views

Media (Images) not loading and media dialog shows error

We have upgraded Sitecore 9.0.2 to Sitecore 9.3 and it is SXA based solution. And media search is not working after the upgrade. The Media dialog box shows an empty result and returns a response as ...
Sumit Helaiya's user avatar
0 votes
0 answers
51 views

Error message in EXM when using the external image hosting link

I have created an Email campaign via Sitecore, and in my HTML code for the E-mail I used an external link for the image (from the media hosting). When I wanted to send it out via list delivery, I got ...
Lizaveta Andryukhina's user avatar
0 votes
0 answers
42 views

Zip files not being bucketed

When uploading a .zip file to a bucket in the media library, the .zip file does not get put in a bucket. I can't figure out why. E.g. The zip item is set to be bucketable: And I have created a ...
Linas's user avatar
  • 58
1 vote
1 answer
138 views

How to download media item to SitecoreTempFolder?

I'm wanting to clean-up the media library, I have a script that outputs unused media library IDs. I then want to grab the media item associated with these IDs and download them to a temporary folder (...
Rick's user avatar
  • 13
2 votes
1 answer
76 views

Media Items not getting indexed after creation in CMS

I am facing issue with Media file indexing in Sitecore 9.2. When I upload one media file in CMS, then after save the media file is not getting index in Solr. But If I create a package of Media item ...
Koushik Mukherjee's user avatar
1 vote
1 answer
46 views

How to change Media Library Theme Path(custom theme folder path) in existing FrontEnd code solution

I have requirement to setup theme for new microsite in our sitecore-SXA project so follow below steps do it, and it works fine too. npm config set @sxa:registry https://sitecore.myget.org/F/sc-npm-...
Rinku Jain's user avatar
1 vote
0 answers
48 views

Apply authentication to media files

We are using Sitecore 9.3 with SXA. I have some pdf files stored in the media library in sitecore. These files can be downloaded by users after logging in to the site. There is a security finding that ...
NewbieHere's user avatar
1 vote
2 answers
245 views

How to require alt text when uploading an image in the experience editor?

How can I make this field required so that a user can't upload an image without the alternate text box having a value?
Pinpaho's user avatar
  • 51
1 vote
1 answer
77 views

Issues while generating the media item url with space in item name

we have the below configuration with Sitecore 9.3 <encodeNameReplacements> <replace mode="on" find=" " replaceWith="-" /> </encodeNameReplacements> ...
D J's user avatar
  • 346
0 votes
3 answers
121 views

Media with aspx extension is not working

We have migrated to Sitecore 10.1 from Sitecore 8.7. In Sitecore 8, For-example, if the image location is /-/media/Project/Os-Theme/Styles/images/logo Then the following url returns the same image <...
Owais Ahmed's user avatar
3 votes
2 answers
168 views

Publish Media item as soon as uploaded

I want to publish the Media item as soon as it is uploaded in the Media library. I was looking at different pipelines to resolve this but couldn't figure out which one is the ideal one to do so. As it ...
Meghan's user avatar
  • 367
2 votes
1 answer
141 views

Azure blob migration issue: no media attachment in themes items

Recently, we did Azure blob migration. Installed package Ran scripts Now media items are linked to an azure blob. Images are coming on the website on CM and CD. However, no themes are loading on the ...
Jagmeet Kaur's user avatar
1 vote
2 answers
185 views

Disable Media.RequestProtection when page is in preview mode

I have Media.RequestProtection enabled in my Sitecore 10.0 instance. Is there way to disable this only for preview and experience editor mode.
rahul's user avatar
  • 21
1 vote
1 answer
55 views

Locked Media Library Items Cannot be Read by Non-Administrator Users

Our Media Library items are behaving differently from items in our content tree when locked. User accounts with the Administrator flag on can, of course, move around as usual. But any other user ...
eidolonic's user avatar
1 vote
4 answers
502 views

Media Library File Upload Fails

In Sitecore 9.2, our user is trying to upload a fairly large file (Large, but within configured limits.) In the Media Library, we navigate to the desired folder, click Upload, select the desired ...
Ron Ritchie's user avatar
1 vote
2 answers
496 views

Display filename with extension using FileField in Sitecore

I need to display the filename with an extension for a File type field in Sitecore SXA 10.2. The field value in content contains an Url that points to the pdf documents in Media Library. var fileField ...
Siddhi Kamat's user avatar
0 votes
0 answers
19 views

Sitecore 9.3 Image resizer/optimizer module or solution [duplicate]

We are using three images fields: Desktop, Tablet, Mobile to render the correct images in the different viewports. Is there any Sitecore Module or suggestions on how we create image processor/tool so ...
JatinGarg's user avatar
3 votes
1 answer
140 views

How to Compress and Optimize the Video File Size

We are using SXA module in Sitecore 9.0.2. Our requirement is that while uploading a video file in to Sitecore CMS, how can we optimize or compress the size of video file. Please help on how to ...
Ratnesh Pandey's user avatar
0 votes
0 answers
50 views

Sitecore Select Media return empty in Experience Editor - Multisite SXA

We have recently upgraded the Site from v9.2 to 10.2. We have maintained multisite with SXA. In the old Site, we used Azure Search and now converted it into Solr search. After integrating all the ...
Rameshkumar's user avatar
1 vote
2 answers
86 views

Scanning files under media for vulnerability

We would like to scan our solution for security vulnerabilities. We already have a tool for static analysis. The problem is as follows: We are using the Sitecore media library to host the jQuery files ...
NutsAndBolts's user avatar
  • 1,310
2 votes
2 answers
890 views

Disable Image Upload button in Rich Text Editor

Is it possible to remove/disable the image icon in the Rich Text Editor's toolbar. All the images in this project come from Content Hub and client wants the CMS feature for image uploads to be ...
sukesh's user avatar
  • 3,033
0 votes
1 answer
177 views

How to replace image in sitecore media library programmatically [duplicate]

Database master = Sitecore.Configuration.Factory.GetDatabase("master"); var item = master.GetItem(new ID("{493E6479-D647-4120-A543-B20924F24978}")); item.Editing.BeginEdit(); //I ...
Ranjeet's user avatar
2 votes
1 answer
605 views

How do you get JSON data from an item stored in the media library?

master:\media library\item-name contains a JSON file. Get-Item gets the item itself but I am unable to extract the JSON content with ConvertFrom-Json. In PowerShell outside of Sitecore Powershell ...
Anthony's user avatar
  • 167
0 votes
1 answer
1k views

does sitecore support WebP or AVIF images [duplicate]

I am looking at a requirement where webp image support is expected. Does Sitecore 10.2 support webp or avif images. I tried uploading a webp to the media library and it seems to upload. but when I ...
Shejoy Cherian's user avatar
1 vote
2 answers
106 views

I have media in my media library that has been detached and I would like to know who detached it

I would like to know who detached the media because it seems that the media is detached from the Detach link of the media in the media library. I tried detaching the media, but it didn't seem to be ...
m.kawasaki's user avatar
0 votes
2 answers
66 views

When an image is uploaded to the Media Library, how long does that image stay on the Recently Updated Images list before it falls off the list?

I think the answer is “it stays recent until the media cache is clear”. However, I am not 100% sure that is the best answer.
Christopher W's user avatar
4 votes
1 answer
172 views

Why is Select Media Dialog Empty When Media Exists in Folder?

When we try to Browse to select an image for an image field, nothing appears in the Select Media dialog though we've confirmed there's content in the folder designated in the field's Source attribute. ...
Ron Ritchie's user avatar
1 vote
2 answers
448 views

How to download media item from media library in sitecore?

I tried to download a media item from media library to my local storage using the Item ID. But it downloaded only in cache storage. I want to download it in downloads folder. public void downloadform(...
Raviraja's user avatar
1 vote
1 answer
152 views

How to Programatically attach a Media File of System.IO.File type

We are trying to programmatically attach Media File to a Media Item at the latest version. Our requirement is to programmatically extract the file (System.IO.File) from the Local System and attach to ...
Sylesh JL's user avatar
  • 157
0 votes
1 answer
121 views

how to set an item Image field

Using Sitecore PowerShell Extensions I can set an item's text properties but an Image property cannot be set: In the screenshot above, setting the Title property worked but none of the attempts at ...
Anthony's user avatar
  • 167
1 vote
2 answers
252 views

Latest Versioned Media Item is not Updating on Front End Website

We are using Versioned Media Items on our website. Our media URLs will be in the format - https://domain/-/media path.pdf?sc_lang=en&hash=6952A5CAEA1FC60BEF7CCDF29B0293E2 After we attach a pdf ...
Sylesh JL's user avatar
  • 157
0 votes
2 answers
858 views

Bulk download media library in Sitecore Media Library without Encoding file names

I want to bulk download Media library in Sitecore Media Library after going through following solution Bulk download PDF media in Sitecore Media Library , but I found that after downloading zip file ...
Kumari Dimple's user avatar
1 vote
3 answers
290 views

How to get media library item names in csv which has file extension .pdf, .doc and .xls?

I am looking for a solution to list items in the media library with file extensions pdf, doc, and xls followed by exporting to a csv.
Kumari Dimple's user avatar
2 votes
2 answers
238 views

Creating media library packages when using Azure Blob Storage

We are working on an upgrade project and are considering using the Azure Blob Storage module to store media outside of the database. Since the media is no longer stored in the database and is instead ...
jammykam's user avatar
  • 13.8k
0 votes
1 answer
401 views

How to get all the media library items that are used/displayed on a page?

So we already have a custom site map generation service in our Sitecore 9.2 solution, to generate standard sitemap.xml files, which is working absolutely perfectly. However, we now want to extend it ...
Adam Brunt's user avatar
1 vote
1 answer
301 views

Sitecore media with AlwaysAppendVersion set to true adds the revision to -1 for non default language versions

Environment: Sc 10, SXA 10x, Azure PaaS Sitecore adds query string param rev=-1 to the media url whenever there is no language version available for asset other than default Language. ex: /-/media/...
Suneeth Sunkari's user avatar
0 votes
1 answer
291 views

How to Programatically update the media attachment in the specific version of a media item in Sitecore 9.3

I am currently trying to update a media item programmatically. Methods like Create From File or Create From Stream are removing all the versions of the media item item and restarting from Version 1. I ...
user11803's user avatar
2 votes
4 answers
375 views

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

We are trying to improve the LCP score of our site and one of the elements we want to optimize is the large image used in the hero banner of each page. Is there a way to set this image to be preloaded?...
Rob Connolly's user avatar
1 vote
2 answers
321 views

How to update Item's Media Properties using SPE (Sitecore Powershell Extensions)

I have an Image Field in an Item. When the image is uploaded to Media Library, the Alt field is not updated and hence when we look at the Image properties from Item, it is Blank. So far so good. The ...
Yeshwanth's user avatar
1 vote
0 answers
170 views

Dianoga errors in the logs for temporary file paths

Getting the below errors related to Dianoga in log files related to temporary file paths. Dianoga version used is 5.4.1 ERROR Dianoga: Unable to optimize {Image path} due to a processing error! It ...
Swathi's user avatar
  • 11
0 votes
2 answers
307 views

Dianoga image optimization error for few of the images

Getting the below error in Dianoga logs. The version used is 5.4.1 - ERROR Dianoga: Could not resize image as it was larger than the maximum size allowed for memory processing Also, the load time of ...
Swathi's user avatar
  • 11
1 vote
2 answers
822 views

How to get all image field that is included in a page using Sitecore PowerShell and create new language version for images

I would like to know how to get all related media id's from page using Sitecore PowerShell module and create new language definition for media items. So we have a page that have image field in data ...
user avatar
0 votes
1 answer
99 views

Media item upload request

Is there a way to check if the request is coming from Browse for media files Or is it coming upload file or upload files I have code to check upload image size public class ImageSizeCheck : ...
Owais Ahmed's user avatar
0 votes
0 answers
296 views

Sitecore Media images with path "/sitecore/shell/themes/standard/-/media" throwing 500 error

We can see 500 errors in the log files for the media files. Those files are having urls with /sitecore/shell/themes/standard/ in it. Why the media Urls uploaded in Sitecore are getting created with ...
Vinod Chavan's user avatar
0 votes
0 answers
116 views

Sitecore media library does not render with sc_language

I uploaded Versioned image in Sitecore 10.0.1 media library. Template used is - /sitecore/templates/System/Media/Versioned/Image the image URL is also correctly rendered with sc_lang. But when I ...
user11324's user avatar
3 votes
1 answer
314 views

Sitecore 10.0.1 Unversioned Images not rendering across languages

I created an image in Media library using Sitecore Unversioned Media Template. After addign image in say En, if I add a diffrent image for Spanish and come back and check English image, it shows the ...
user11324's user avatar
0 votes
1 answer
136 views

Supress MediaRequestProtection errors at site level

I have a multisite setup in sitecore 9.1 and getting the below error on ERROR MediaRequestProtection: An invalid/missing hash value was encountered. The expected hash value I know the reason for ...
yeshwanth thummala's user avatar

1
2 3 4 5
7