Change Image Gallery from Thumbnails to Text File Names

Last post 07-08-2009, 1:12 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-08-2009, 12:45 PM 53836

    Change Image Gallery from Thumbnails to Text File Names

    Is there a way to instead of presenting a user with thumbnails in the Image Browser to display an alphabetical list of file names instead?
     
    Thank you,
    Derek Bemis
  •  07-08-2009, 1:12 PM 53838 in reply to 53836

    Re: Change Image Gallery from Thumbnails to Text File Names

    Derek,
     
    You have two options.
     
    1. You can use the second image gallery dialog and disable the first image gallery dialog.
     
    2. Open CuteSoft_Client\CuteEditor\Dialogs\ThumbList.ascx and modify the following code:
     
    1.   <ItemTemplate>  
    2.         <img class="spring_image" onload="render_spring_image(this)" onclick="insert(this.getAttribute('Url'))" title=""    
    3.             src="<%# ThumbUrl((String)(DataBinder.Eval(Container.DataItem,"Path"))) %>"     
    4.             tooltip="<nobr><%# String_Name%><%# DataBinder.Eval(Container.DataItem, "Name")%></nobr><br /><nobr><%# String_Size%><%# ( Convert.ToInt32(DataBinder.Eval(Container.DataItem, "Length")) /1024).ToString("n0")%> KB</nobr><br /><nobr><%# String_Createddate%><%# DataBinder.Eval(Container.DataItem, "CreationTime") %></nobr><br /><nobr><%# String_Modifieddate%><%# DataBinder.Eval(Container.DataItem, "LastWriteTime")%></nobr>"    
    5.             url="<%# DataBinder.Eval(Container.DataItem,"Url") %>"  
    6.          />  
    7. </ItemTemplate>  

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML