Site structure
Version 5.x > Site structure > Media Library View modes: 
User avatar
Member
Member
danuta.welz-tatukgis - 7/23/2010 4:38:50 AM
   
Media Library
Is it possible to move image file or pdf file placed on "Content" part in catalog to Tools->Media Library?

User avatar
Kentico Developer
Kentico Developer
Kentico_IvanaT - 7/23/2010 8:08:28 AM
   
RE:Media Library
Hi,

It is better to consider where you would like to store files at the beginning. Moving a lot of files is not trivial, but it is possible.

1. If you would like to move only couple of files, you can simply use your browser to download files. It is possible to use same browser plug-in that makes this job easier. Than you can upload files to Media Library from file system.
2. You can also in Site Manager -> Settings -> Files check option Store files in filesystem instead of Store files in the database. Uploaded files (except of media library and BizForm files) will be stored in the file system under ~/<site code name>/files. The location of the folder can be customized in Site Manager -> Settings -> Files -> Files folder.
Now if you open an image in content (simply click on it in Content menu), this image will be saved to defined directory.
I have to warn you that files will be renamed, if you use this method.
3. If you would like to copy a lot of files, I suggest you to create a script for this, but this will not be trivial.

Best Regards,

Ivana Tomanickova

User avatar
Member
Member
danuta.welz-tatukgis - 7/26/2010 5:29:08 AM
   
RE:Media Libraryte them
Thanks for quick reply. I'm affraid it works only with new files stored on disk but I have some image files stored in database (only) earlier and I can't update them if I have new version of file. Updating is possible in media Library, but how to move file from database to Media Library?
Regards,
Danka Welz

User avatar
Kentico Developer
Kentico Developer
Kentico_IvanaT - 7/26/2010 7:36:17 AM
   
RE:Media Libraryte them
Hi.

You can do it even if files were stored only in the database.

1. In Site Manager – Files check Store in file system and in Site Manager – Files – Files folder set for example to ~/UploadedFiles.
2. Save your setting.
3. In CMS Desk just click on Content – Files – your_image. This click will save file in filesystem ( for examle: C:\inetpub\wwwroot\your_site\UploadedFiles\*)
4. Now you can upload file from FS to Media Library.

Best Regards,

Ivana Tomanickova

User avatar
Member
Member
danuta.welz-tatukgis - 7/28/2010 8:33:46 AM
   
RE:Media Libraryte them
Thanks a lot. It is working.
Regards,
DW