bondarenko-langora
-
7/29/2009 5:47:51 PM
RE:Image cropping
Hi I follow by your links and first: I don't see how I can modify flash player for flash control using (controls is standard flash player controls like as stop, rewind, pause)
second: I follow to http://devnet.kentico.com/Forums.aspx?forumid=37&threadid=7365 topic and try to opent example link http://www.kentico.com/docs/devguide/media_player_customization.htm but it doesn't work. At the next step I try to modify file like as discribed in this topic. I put File.Exists(MediaFileInfoProvider.GetMediaFilePath(mfi.FileLibraryID, mfi.FilePath)) and put //lightbox mod int[] dim = ImageHelper.EnsureImageDimensions(Width, Height, MaxSideSize, mfi.FileImageWidth, mfi.FileImageHeight); Width = dim[0]; Height = dim[1]; this.ltlOutput.Text = "<a href=\"" + url + "\" rel=\"lightbox[gallery]\" title=\"" + mfi.FileTitle + "\"><img src=\"" + url + "\" border=\"0\" width=\""+Width+"\" height=\""+Height+"\" /></a>";
I create Image Gallery under MediaGalleryLibrary at the next step Now I see page like as MediaLibary in admin section without any component edition possibles.
And I see You are not allowed to see media library content. Permission 'libraryaccess' is required while I try to see Image gallery by Live Site button pressing.
And one little note: I have different code in ~\CMSModules\MediaLibrary\Controls\LiveControls\MediaFilePreview.ascx.cs from examle code. I use Kentico Version: 4.0 Build: 4.0.3328
Best Regards Alexander
|