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
0answers
20 views

Images don't reflect versioning in Rich Text Fields

The Sitecore version for this issue is 9.1.0 (rev. 001564). In content editor, if I add a versioned image with only 1 version created added to a rich text field on an item, I encounter issues when I ...
0
votes
1answer
22 views

Where does SXA store css and js files on CM server

We can see css and js files in content tree under /sitecore/media library/Themes/ and if we view source code of a web page we can also see the links. However I am not able to find those files in ...
0
votes
1answer
29 views

Sitecore 8.1 - few media files getting downloaded

We are working on Sitecore 8.1 instance where we have got a security issue. As per the issue, few media files are getting downloaded directly when we hit the url. Example - https://hostname/-/media/...
0
votes
0answers
12 views

BlobProviderException - Can't publish media items from Master to Web database [duplicate]

When I am publishing many media items from the master to the web database, it crashes at some point in the process with the following exception: Job started: Publish to 'web'|#Exception: System....
0
votes
1answer
48 views

Alt text in custom image bind

We are creating image tag from the programming in Sitecore 9.1.1. Using the below code. var image = new MediaItem(imageField.MediaItem); src = StringUtil.EnsurePrefix('/', ...
0
votes
1answer
25 views

Can we bind image component source through programming?

We would like to bind image component src thorough programming and would like to get Hash value as well. Need this output : <img src="/-/XXXXXX?h=192&amp;w=192&amp;hash=...
0
votes
2answers
39 views

Possible to retrieve PDFs deleted from the media library or retain their URL for new version?

I have deleted some PDFs from the Sitecore media library by replacing them with new PDFs which were already added to the library. As a result, the media URL is now changed. The owner now says they ...
1
vote
1answer
85 views

How to add Custom CSS File and why it is not rendering to page

I have installed Sitecore 10 on my laptop recently and I am facing the following issues. Issue 1: I have created a site and I am trying to add a "custom css file" but I am not able to upload ...
1
vote
0answers
28 views

Rendering SVG as XML using Glass Mapper

I was curious if anyone has a good solution for rendering SVGs using Glass mapper so that the result is XML embedded into the HTML instead of an tag. I know that I can use Editable() with a ...
1
vote
0answers
50 views

Undefined Javascript Error on Media Upload

In Sitecore 8.2, we have an item template featuring an image field. The preferred workflow for creating an instance of this template is the use of the Browse trigger on the image field and the Upload ...
0
votes
0answers
40 views

Media Upload Not Triggering for Crowded Media Path

In Sitecore 8.2, we have an item template featuring an image field. The preferred workflow for creating an instance of this template is the use the Browse trigger on the image field and the Upload ...
0
votes
0answers
135 views

Images not showing on preview mode in sitecore 9.1.1

I have a website on sitecore version 9.1.1 and sxa 1.8 Several components and pages contain image fields, when I open the page in edit mode everything looks fine but when I open the page in preview ...
0
votes
1answer
43 views

Add query string to all Media item in Sitecore SXA 9.3

Is there any way by which I can add a query string in each media item requested in SXA include CSS, js, images, fonts, etc. Current URL - http://us.dev.local/-/media/base-themes/core-libraries/...
0
votes
0answers
24 views

Custom Image field button stop working after Chrome update

I have custom image field button in order to be able to choose image from outside media storage. Everything worked well until recently Chrome update. My .aspx file for Field popup. <body> &...
0
votes
0answers
42 views

Headless JSS with Sitecore Image URLs

So just need clarification on this image issue I am running into, so my site is www.site.com and some of my images that are located in my media library are coming to my site is showing up as www....
0
votes
2answers
238 views

How to find unused images /files in the media library and clean them up?

We have been using Sitecore as CMS for quite some time. We would like to clean up the images and files which are not linked with any items and archive them. Is there any approach you have used for ...
1
vote
1answer
98 views

How can I automate the upload Media Library files available in folder under App_Data?

I build my frontend artifacts (theme files, including pre-optimized-min versions of my CSS and JavaScript) using SXA Umbrella, and in my DevOps release pipeline I make them available in the folder ...
0
votes
0answers
22 views

Media Library more than 2000 files [duplicate]

We are planning to migrate the website from WordPress to Sitecore and we see there around 2000 files/4 GB size which includes images, pdfs, Word, excel documents. Currently Budget and timeline is ...
1
vote
1answer
35 views

Is there a way to set my image URLs to my node server url instead of my CD instance

So I havent been able to track down a article of how you change the name of my images coming out of my media library. The mynewsite is the site running my node server calling my prod-cd content. ...
1
vote
2answers
152 views

Can't access Media Library folder items from within Content Editor despite folder containing items

When attempting to set an image for a field in Content Editor, the media library shows no items to pick from: However there are in fact items in this location: I am also able to access these items ...
1
vote
1answer
173 views

ON PUBLISH , Pdf media item is not clearing the cache from CD server in 9.3

ON PUBLISH, Pdf media item is not clearing the cache from CD server in 9.3 and still shows the old pdf. The HTML Cache clears as expected in the CD but not the media item. Eventqueue folder in the CD ...
1
vote
2answers
138 views

General Link (Insert media item) add custom property when click from Experience Editor

We would like to add custom property when we click on General link from Experience Editor. Would like to add custom property below "Alternate Text" and append custom property values in URL.
0
votes
1answer
48 views

How to Fake a Media Library Item and return an image from external provider instead

The scenario is the following: For a single component we're getting the html content from an external provider. Including images. For each image we have to call a separate endpoint of the external ...
0
votes
0answers
21 views

Uploading SVG images into AWS connection within Sitecore's Media Library

I am working with a client where we use AWS (Amazon Web Services) to manage uploaded images in Sitecore 9.0.2, rather than loading them directly into the media library. When I tried to upload the SVG ...
1
vote
1answer
57 views

Solve copy and paste image path

I created a custom image field, so far its working fine. but when I take an image path and add it manually to the field without clicking browse. It disappears which is not the normal behavior in OOTB ...
2
votes
1answer
90 views

How to hide specific photos to be viewed in browse image

I'm trying to hide specific photos from browse image dialog. For example "Assets" is my source folder, I want to get all first level photos only which is "Image1" and to hide &...
0
votes
0answers
33 views

Sitecore ProcessMediaRequest is giving 404 for restricted media

I recently had a requirement to restrict secure media items to download so that only certain logged in users could download them. So to achieve that I have remove read access from the extranet\...
0
votes
0answers
32 views

Upload media failing with 'Not Found' error

We are working on Sitecore 8.1 (rev. 160519), and trying to upload images into Sitecore from Image fields is resulting in a Not Found error. I am using the admin account, and as seen, file size is ...
1
vote
2answers
124 views

Media library item (pdf) reachable after unpublish/not publishable

In Sitecore 9.1.1 I have some PDF documents in the media library that i've "unpublished" (unchecked the publishable publish setting) Then smart-publish parent folder, subitems and all ...
0
votes
0answers
64 views

Packaging and installing media items not working - items are created but have no attached file, media is NOT stored in file system

I've created a package of media items on my prod environment and installed it on my local. The media files are NOT stored in the file system But when I install the package, the items are created but ...
0
votes
1answer
51 views

Opening HTML microsite from Sitecore Media Library v9.1.1

looking for settings to open microsite uploaded to media library in browser. In the past we would take an Adobe Captivate html export load it into a folder in the media library and run the .html from ...
0
votes
0answers
120 views

Sitecore Media Item getting downloaded on click of media item

Media item are getting stored on azure, for this I have overridden Media library classes. Now what happen when I am selecting any media in Media Library to see, It gets automatically downloaded. It ...
0
votes
0answers
58 views

ERROR MediaRequestProtection: An invalid/missing hash value was encountered. The expected hash value: [duplicate]

For all uses of MediaManager I have code like: string mediaItem = MediaManager.GetMediaUrl(sourceItem, mediaUrlOptions); itemUrl = HashingUtils.ProtectAssetUrl(mediaItem); I do have setting set: ...
2
votes
0answers
33 views

How to replace/register 'ResizeImageStream' method of class 'Sitecore.Resources.Media.ImageEffectsResize' from Sitecore.kernel dll

I’ve extended SqlServerDataProvider to use the azure blob storage account for storing the media library assests.Everything works fine but Sitecore.Resources.Media.ThumbnailProcessor throws error in ...
4
votes
1answer
673 views

Sitecore media library - unable to load large files ( > 8MB) via Azure Front Door

We've run into an issue in Sitecore 9.3 where it's not serving media items properly via Azure FrontDoor with caching enabled. (Front Door works exceptionally well for 99.95% of the website). But a ...
0
votes
0answers
105 views

Link external resource in sitecore 9.3 media library

We have a Sitecore 9.3 instance running a site. Our problem is that resources uploaded on the Media Library occupy too much disk space. We want to create a custom media library object that links to a ...
4
votes
0answers
2k views

SXA Video, Youtube doesn't show thumbnail on mobile?

I am using a Video component and I've created a couple examples, 1 video uses a YouTube source, the other uses a video in the media library. On mobile devices, the Youtube video doesn't show the ...
3
votes
1answer
57 views

How to disable the animation of SXA image gallery in mobile

I have added the Sitecore sxa image gallery. My requirement is to hide the pop up which comes in the mobile view on double-tap of image. I have tried with event.preventdefault ,.stop(),event....
1
vote
0answers
68 views

Media.DefaultImageBackgroundColor

We have a custom import tool that programmatically imports content into a Sitecore 8.2 (rev. 170614) instance. In addition to the content, images are imported and attached to items as they are created....
1
vote
0answers
82 views

Upload Media Item to Media Library Folder Through HTTP Request via ItemWebAPI

I am using the ItemWebAPI and attempting to create a media item in a subfolder of my Media Library. The documentation I am referencing for this is here: https://doc.sitecore.com/SdnArchive/upload/sdn5/...
1
vote
0answers
464 views

In MediaManager, how to get image's full url with specifed site's domain included?

The reason why I want to change the domain of an image url is because I'm providing an API to a third party. And the regulation is all media url and internal link url, needs to replace the default ...
1
vote
0answers
140 views

If I add a CSV file to the media library and visit that item in Sitecore, a file is downloaded automatically with the content of that media item

I want to upload a CSV file into our media library. In our Dev environment, this works as expected, the file uploads, shows up in the content tree, mime-type/extension is getting set appropriately, ...
1
vote
1answer
246 views

Programmatically read content of PDF media file

I have a custom template with a field of type "File" in which a content editor can upload a file from media library. I read the item as shown below and then i have a media item holding the file. ...
0
votes
1answer
342 views

Media file item looses blob value after publish

This is in Sitecore 9.1 where I have a pdf file media item in sitecore, that is browsable all good from the CM site (master DB) but when I try to browse to it on the CD site (web DB), it gave me a 404 ...
2
votes
1answer
503 views

Sitecore how to get an ImageField full url, not a relative path?

It's an Web API project, to provide some data for third parties. var image = new MediaItem(imageField.MediaItem); string src = Sitecore.StringUtil.EnsurePrefix('/', Sitecore.Resources.Media....
-2
votes
1answer
47 views

Sitecore Media Upload wizard throws "Maximum amount of data upload is NaN undefined" in sitecore 8.1

When I try to upload the image in Sitecore media uploader, I am getting the error "Maximum amount of data upload is NaN undefined". I got a resolution to change the maxRequestLength property value to ...
1
vote
1answer
295 views

Add a version when uploading media by overwriting

There are media approved for version 1. The template is VersionedTempate. Check Overwrite existing media items in Upload files (advanced) of the media library and upload. Then, the approved media is ...
0
votes
1answer
252 views

Sitecore Image imagescaling/resizing not working on CD enviornment

Recently our client asked us to use progressive image loading for our site. So we decided to use sitecore's image scaling/resizing to get low resolution image using sitecore image-scaling parameters, ...
1
vote
1answer
140 views

Exclude the hash from the query for certain media types e.g. PDF

Linking a document in rich RichText editor like this: <a href="/-/media/045D86A8E4BA4D5F9DFE3F703D6E75E9.ashx?">2017-02-14-presentation-.pdf</a> produces the following when rendered: ...
0
votes
0answers
39 views

Sitecore 7.2 and Jpeg2000 image types [duplicate]

Is it possible to configure the Sitecore media library to recognize jpeg2000 files such as .jp2? I've tried using this solution. However, when uploading jp2 types to the media library it throws an ...

1
2 3 4 5 6