OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Ability to change the physical file for media-related items #4341

Open orchardbot opened 10 years ago

orchardbot commented 10 years ago

@BenedekFarkas created: https://orchard.codeplex.com/workitem/20512

After importing media-related items (pictures, videos, sounds files, etc.) into Orchard, currently we can only edit their meta-data (title, caption, alternate). So for example when I display an Image content item using Media Library Picker Field and then want to change the image, I actually have to import the new image as an Image content item and reselect it instead of the old one. It would be nicer to be able to select a new file for the existing content item (so it wouldn't be a lot of manual updating if the given item is used in different places). It would also help us in order to be able to create localized media-related content items (see this issue about that).

Problem is: should this be connected to the media import feature to make sure that file is in the Media folder or should selection be restricted to the Media folder?

orchardbot commented 10 years ago

@sebastienros commented:

Please review the PR which has been created by Jeff for that matter. I asked for a reviewer a couple weeks ago, you can be it ;)

orchardbot commented 10 years ago

@BenedekFarkas commented:

Sure, I'll check it out!

orchardbot commented 10 years ago

@StanleyGoldman commented:

Can you link the pull request, I cant find it.

orchardbot commented 10 years ago

@BenedekFarkas commented:

Here it is. I see Sébastien is reviewing it (sorry, I didn't have time to review it, just took a quick look).

orchardbot commented 10 years ago

@sebastienros commented:

Actually here now: https://orchard.codeplex.com/SourceControl/network/forks/jao28/AddMediaLibraryEdit3/contribution/7368