DNN TTTGallery Modifications

I made some minor modifications to the TTTGallery today for my sites. Here they both are.

modified the TTTGallery's default file and folder titles. By default they appear as “Untitled”, this is rather annoying if you don't want to have to go through and modify the titles for a few hundred images.

If you do a search for

Return “Untitled“

replace with

Return _name

There should be two instances of that, I believe both in the Gallery Objects.vb file.

This modification replaces the “Untitled” with the filename of the image or folder.

Second Modification

made to better suit my needs on solo2.org.

On the TTT_Viewer.ascx.vb file I added the following line to the page load function, line ~98

      CType(Me.Page.FindControl("Title"), HtmlGenericControl).InnerText += " > " + _request.CurrentItem.Title

That adds the title of the current Image to the Page title of the browser, for hopefully better SEO optimization.

 

 

2 Comments

  • hi chris, interesting changes. when my current project slows down, i'm thinking about making some changes to tttgallery too. i was thinking it would be good to have it maintain the various file attributes that camera software puts on picture files such as time picture taken, shutter speed etc... i was also thinking of allowing an option to automatically append the date taken to the name of the picture when posting to the web. this would be especially useful for baby pictures as everyone wants to know the babys age at the time.

  • Jim, I believe Tam is working on EXIF information for the TTT Gallery, I haven't looked at this site lately?

Comments have been disabled for this content.