Skip to main content

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
2k views

Sitecore Media File upload above 2GB throws Bad Request 400

we are on Sitecore 8.1 U3 , content editors generally upload large files to the media library using the File upload (advanced) option with Upload as files checked , these files are uploaded to a blob ...
SitecoreNoob's user avatar
0 votes
1 answer
85 views

Sitecore 8.2 multilingual versioned media item per site [closed]

I have a certain site on a Sitecore instance with 3 sites. One of them must become multilanguage, where the content tree is done already. But the media items under the media library cannot be easily ...
Michael's user avatar
  • 191
1 vote
1 answer
3k views

I have image path into media library, how I can show it into cshtml?

My model contains string property ImagePath with media file path, for example: "/sitecore/media library/Comp_Images/Division1/Client1/Client_Images/BobRoss.jpg" How can I display it into cshtml in ...
Pomodoro Technique Game's user avatar
0 votes
1 answer
494 views

Pipeline For Media Library for CD

I'm new to Sitecore and I'm looking for the details of media library pipelines in CD. I'm trying to redirect media library link based on a flag. If the flag is checked for media library item then it ...
Harikrishnan N's user avatar
0 votes
1 answer
570 views

Sitecore Forms Submit Action redirect to a PDF in Media Library

I have a form that, upon submission, should redirect and display a PDF from my media library. Upon submission, I am receiving this error: Does Sitecore 9 Forms require that I provide a layout file ...
MmKk's user avatar
  • 27
1 vote
0 answers
368 views

Media item (image) and RTE

I'm running into an issue with using images in RTE. Images upload as expected into the medialibrary so no issues there. But when I insert the newly uploaded image in RTE it'll appear in Experience ...
Esther's user avatar
  • 31
1 vote
1 answer
376 views

Restricting selection to a specific folder for use as an image file

The requirement is to have an image field that is not the standard one but rather a pulldown list of images from a specific folder. I can get this to work on the backend by using a droplist field or ...
Levi Wallach's user avatar
  • 1,085
3 votes
2 answers
1k views

Media Item not created in multiple languages

We have problem with uploaded media item in Sitecore 9. When we are uploading some media file (image, video etc.), it will be created only in default language and not in all languages. This worked in ...
Jiří Semrád's user avatar
1 vote
2 answers
1k views

Chrome icon coming for pdf's in media library instead of PDF icon

When I tried to upload a pdf file in Media library I am getting chrome symbol as icon instead of pdf icon. I tried in vanilla instance where everything works fine. I checked the template's icon and it ...
Anjo's user avatar
  • 405
0 votes
4 answers
5k views

Inserting SVG files/markup

There seems to be an issue with SVG markup that works fine when embedded manually (through a rich text field for example) vs. when I save that same code as an .svg file, add it to the media library, ...
Levi Wallach's user avatar
  • 1,085
1 vote
1 answer
614 views

How to change template for multiple items

There are many PDF files in our project that are manually added to the media library. I see that some of them have the template - /sitecore/templates/System/Media/Versioned/Pdf and some others - /...
sukesh's user avatar
  • 3,176
2 votes
0 answers
389 views

Video Media item is not loading as per language query string parameter?

I have created media item and uploaded two different video in "English" and "Spanish" version. When accessing this media item, it is not loading the video as per the query string parameter, please ...
Thenmozhi Subramaniam's user avatar
2 votes
2 answers
3k views

How to correctly login as Virtual User to use the Sitecore Content Editor? (Avoid Media Library Search redirects)

I have a situation where I need to use VirtualLogin to enable a user to access the sitecore shell and use the Content Editor / Media Library editor. This is the code for the Virtual Login (from many ...
teebszet's user avatar
  • 141
1 vote
1 answer
549 views

Media Library search functionality shows only on blank image fields

We are using Sitecore 8.2 Initial Release for one of customer. We have one simple question about the media library search. Whenever we click on browse button to select an image (when image field is ...
Ja Desouza's user avatar
5 votes
1 answer
779 views

SXA what is the purpose of the Media folder under a Site

What is the purpose of the Media folder under a site in SXA? Technically this seems to behave the same way as the regular media library, but I'm just not sure why you would use this, or if there are ...
Matthew Dresser's user avatar
2 votes
2 answers
908 views

How to disable analytics for media request analytics failed Exception: System.InvalidOperationException

Basically, I disabled xDB fully on web site, but I still see errors from Analytics ERROR Media request analytics failed Exception: System.InvalidOperationException Message: Tracker.Current is not ...
Arbejdsglæde's user avatar
0 votes
2 answers
549 views

Store media item in Sitecore somewhere else instead of Media Library

Is this possible to store Media items in some other Content tree node in place of Media Library?
Sitecoredev's user avatar
1 vote
1 answer
467 views

Having difficulty with Upload Media in Select Media dialog

I'm using Sitecore 9.01 and I have a few templates which have an Image field. I've noticed that if I click on "Browse" and bring up the Select Media dialog, the Upload media button does not work the ...
caleb72's user avatar
  • 43
0 votes
1 answer
515 views

Exclude Media Library From Lucene Search /Indexing [closed]

How do i Exclude Media Library From Lucene Search /Indexing in 8.2 ??
Prakash's user avatar
  • 1,059
5 votes
1 answer
633 views

Unicorn does not always install media items correctly

On occasions, Unicorn does not pick up changes to media items in Sitecore correctly. e.g. after installing a package of UAT content into my local environment the other day, I noticed that some of the ...
Matthew Dresser's user avatar
3 votes
2 answers
1k views

Sitecore Query to Identify Media Items with no attachment

I'm trying to write a query to select media items which have no attachment. Is there some default value for empty images which can be used in a query? I'm trying to use /sitecore/content/Tennant/...
Matthew Dresser's user avatar
1 vote
1 answer
5k views

Sitecore Get media item from url/path

I'm having issues trying to get the media image item using url/path like /-/media/Infosite/Images/Content/Teasers/relevant-curriculum-small.ashx?modified=20170314020859&hash=...
Chandra Sekaran V's user avatar
0 votes
1 answer
858 views

RTE Inserting/Rendering Link Appending Text

I am looking for the best way to append to the text of a RTE media link (PDF file type). Either on the insert or when the link is being rendered. I looked at the MediaProvider and I noticed that only ...
RReilley's user avatar
  • 755
1 vote
1 answer
3k views

Override Media Manager to Change Url

I need to insert text for a media item when getting a media type of PDF by changing the GetMediaUrl method. This is for an RTE field. I went to override the MediaProvider, but found it was obsolete ...
RReilley's user avatar
  • 755
4 votes
0 answers
527 views

How do you update an attachment in the Media Library using Sitecore's Web API?

I am currently using Sitecore's RESTful ItemService API and CURL to create assets in the Media Library and have that working just fine. However, in some cases, I need to update the attachment (i.e. ...
bushland25's user avatar
5 votes
1 answer
259 views

Image hash paramater doubling up when inside a link

We have an image in Sitecore that needs to be rendered with a link wrapping it. When the HTML renders the hash parameter is being added twice so we're getting errors in the Sitecore log about the ...
Lyle Jordan's user avatar
6 votes
2 answers
748 views

Images for different breakpoints

I have read various implementation approaches to render images in desktop/mobile view without cropping/stretching it. Last time I had a chat with a fellow developer, they insisted on having a ...
novicecoder's user avatar
0 votes
1 answer
773 views

Sitecore 8.2 update 5 media upload above allowed maxsizeindatabase error

I am doing a very simple test with uploading a JPEG file by setting maxsizeindatabase in sitecore.config to 1 MB and trying to upload a ~4MB file giving me a syntax error as below- <setting name=&...
Sandeep Pote's user avatar
6 votes
2 answers
2k views

How to index PDF content in Sitecore running on Azure Web App?

I am trying to index media content (such as PDFs) using Azure and to my surprise/frustration, this feature isn't supported: https://kb.sitecore.net/articles/830385 Is there a workaround that allows ...
David Masters's user avatar
1 vote
3 answers
2k views

Media Item upload upload size validation - confirm dialog issue

I am trying to validate media item whilst uploading to check if the media of certain type has a specific size limit. Created a pipeline which replaces the Sitecore.Pipelines.Upload.CheckSize to the ...
Sandeep Pote's user avatar
2 votes
2 answers
983 views

Can I force the old Upload File interface instead of the new Batch Upload when uploading multiple media items?

After upgrading to Sitecore 8.2.something (currently Update-5), some users began to notice that the functionality to upload multiple media items at once changed. Before the functionality was such ...
James Skemp's user avatar
  • 1,398
2 votes
2 answers
3k views

Sitecore image upload versioning in Media Library

How I like to add versioning for an image in media library in Sitecore 8.0. Please suggest me how can I do the version of an image?
Amit's user avatar
  • 21
2 votes
2 answers
100 views

Automatic asset replacement at a fixed time

We want to schedule an automatic asset (graphic, text etc) replacement. Here is my plan that makes the purpose also clear. I want a particular image to get automatically replaced at midnight on ...
Arun Agrawal's user avatar
7 votes
2 answers
471 views

"Search Tab" for "File" data type gives "The media item could not be found"

I have a structure in which we have a field defined as "File" data type. The requirement is to point this to a specific location within "Media Library". We have done this by specifying guid of the ...
Ramesh's user avatar
  • 149
7 votes
1 answer
200 views

How to handle 1-2 TB images in Sitecore media library

I have some tricky situation where I have 1-2 TB images and files. Each image can be 5-20 MB in size. I have to use them on Sitecore website. What is the best approach for uploading and handling such ...
SurendrA SharmA's user avatar
0 votes
1 answer
541 views

Sitecore Media Framework Brightcove Upgrade Error

We recently upgraded our Sitecore installation from 8.0 Update 7 to 8.2 Update 4. As part of the upgrade, we needed to get a new version of the Media Framework and Brightcove plugin. The Media ...
c-bro's user avatar
  • 567
4 votes
1 answer
1k views

Images not loading for other language versions

Using sc8.2u3 I have a template with two image fields (banner & logo), both are Shared. There are two languages in the site - en & fr. I add the images in the media library, in the en ...
sukesh's user avatar
  • 3,176
9 votes
1 answer
2k views

How to disable caching for specific items in the Media Library?

Is it possible to disable caching at an item level in the media library? We have specific PDF files that are updated every week, but it's simply not feasible to create a new item in the media library ...
jtresidder's user avatar
3 votes
1 answer
386 views

Remove ?la=en parameter in assets - how?

Our site has only one language and therefore the '?la=en' parameter attached to several static assets (mainly images) is totally redundant. Is it possible to remove this from the entire site?
Arun Agrawal's user avatar
10 votes
3 answers
6k views

Improve image compression using Dianoga

We are exploring using Dianoga for dynamic image compression of assets in the media library. After installing the NuGet package and running some simple tests (comparing MediaCache image sizes with and ...
Dan Sinclair's user avatar
  • 5,395
1 vote
1 answer
737 views

How to force download media based on business logic?

In our solution we have some particular cases where we want to provide a "download media" link instead of a straightforward media link. We don't want to force download for any particular file types, ...
James Walford's user avatar
0 votes
1 answer
142 views

Sitecore 7.2, Media Framework 1.4 and HTML5 Player

We are on Sitecore 7.2 and using Media Framework 1.4. This works fine with flash players. But when we are trying to use an HTML5 player for Bright cove Videos it is not working and throwing errors ...
Amitabh Vyas's user avatar
  • 2,554
4 votes
1 answer
304 views

Removing Search Tab in Media Browser for a field

When I click 'Browse' on my image field and start selecting an image in Media Browser (Sitecore 8.2) I see two tabs: Search and Browse. I have already restricted my image field to point to a very ...
Lukas Kozak's user avatar
1 vote
1 answer
2k views

Creating Media Items using the RESTful ItemService API

Quick background, re-building a "product importer" exe that was written for v7 using the old web API and ideally want to replicate all the old logic to work in the new v8 site using the RESTful ...
Denford's user avatar
  • 21
6 votes
2 answers
1k views

Convert uploaded images to WebP codec on upload

I am working on some site performance issues with image sizes and quality on a home page. I can take care of the quality with javascript and post loading. But I thought about converting all images to ...
Chris Auer's user avatar
  • 13.1k
1 vote
1 answer
345 views

When do etags update on Media Items?

I've carried out some testing with etags (used to determine if content has changed since a browser last requested it: https://sdn.sitecore.net/upload/sitecore6/sc62keywords/...
Adam Seabridge's user avatar
6 votes
2 answers
1k views

Why CleanUp doesn't work for the Blobs Table?

We have a Sitecore 8.1.1 with Sharepoint Connector 2.1. the connector imports 4000 documents from the Sharepoint (max 10 GB). The problem is that the Blob Tables last time were more than 80 Gb on ...
Max Ponomarenko's user avatar
10 votes
4 answers
5k views

Forcing Sitecore to clear the cache for updated images

I am aware there are a number of Cache settings for media library items in Sitecore (as described here: Sitecore Implementation - HTML Cache Control Setting options). However the MediaResponse....
Adam Seabridge's user avatar
1 vote
1 answer
743 views

WFFM: How to move uploaded files from Web to Master database

We are using Sitecore 8.1 update-1 with WFFM 8.1. We are using 2 CD servers and both servers we have given the msterdatabase as below in Sitecore.Forms.config <setting name="WFM....
Ramesh's user avatar
  • 237
2 votes
1 answer
947 views

FieldRenderer not rendering an image

I am trying to render an Image in Sitecore 7.2 I am using following markup but it is showing text only, images is not being displayed. <div class="advisor-advertisement"> some text here ...
Ali's user avatar
  • 391

1
3 4
5
6 7