Upgrading to CS2008 - What happens to existing gallery images?

Answered (Not Verified) This post has 0 verified answers | 4 Replies | 3 Followers

Top 50 Contributor
353 Posts
Points 5,140
Tabs posted on Sun, Aug 24 2008 10:13 AM

As per title, we have around 6,200 images in our galleries and are concerned what's going to happen to them should be we upgrade to CS2008.

For reference they are all stored in the file system and we're on CS2007.1

  • | Post Points: 20

All Replies

Top 10 Contributor
3,669 Posts
Points 55,515
TelligentSupportTeam
Suggested by Alex Crome

All Gallery images should be migrated into the CFS, as are avatars and post attachments.  This is the reason why the CS2008 upgrader is a Windows application as opposed to just a SQL script.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 35
Top 50 Contributor
353 Posts
Points 5,140
Tabs replied on Sun, Aug 24 2008 4:10 PM

Thanks. Have you tested this, particulalry with user galleries, as this is where the bulk of our images are stored?

  • | Post Points: 5
Top 10 Contributor
Male
2,364 Posts
Points 15,695
MVPs
Dave replied on Tue, Aug 26 2008 3:06 AM

What happens to blog/forum posts which contain gallery images, do the paths get updated?

  • | Post Points: 20
Top 10 Contributor
3,669 Posts
Points 55,515
TelligentSupportTeam

CS redirects links from the old file gallery and photo gallery to the new media gallery through an http handler - from siteurls.config.

    <!-- redirections for old photo gallery URLs -->
    <location name="galleries" path="/photos/" physicalPath="/media/">
      <url name="galleryhome" path="" pattern="$" vanity="redirect.ashx?"  />
      <url name="gallery_RssGalleryPictures"  path="" pattern="##mediaGalleryName/pictures_rss/$" vanity="redirect.ashx?App=$1&amp;Type=Pictures"  />
      <url name="gallery_aggregate_Syndication"  path="" pattern="MainFeed/$" vanity="redirect.ashx?" />
      <url name="gallery_RssCategoryPictures"  path="" pattern="##mediaGalleryName/(\d+)/pictures_rss/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2&amp;Type=Pictures" />
      <url name="gallery_TagsRss"  path="" vanity="redirect.ashx?" />
      <url name="gallery_ViewSlideshow_Gallery"  path="" pattern="##mediaGalleryName/slideshow/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewSlideshow_Category"  path="" pattern="##mediaGalleryName/(\d+)/slideshow/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2" />
      <url name="gallery_ViewSlideshowPro_Gallery"  path="" pattern="##mediaGalleryName/slideshowpro/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewSlideshowPro_Category"  path="" pattern="##mediaGalleryName/(\d+)/slideshowpro/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2" />
      <url name="gallery_ViewSlideshowPro"  path="" pattern="slideshowpro/$" vanity="redirect.ashx?App=$1&amp;ImageType=watermark" />
      <url name="gallery_PictureUrlScale"  path="" pattern="##mediaGalleryName/images/(\d+)/(\d+)x(\d+)/$" vanity="redirect.ashx?App=$1&amp;PostID=$2&amp;Width=$3&amp;Height=$4" />
      <url name="gallery_PictureUrlTypeThumb"  path="" pattern="##mediaGalleryName/images/(\d+)/thumb/$" vanity="redirect.ashx?App=$1&amp;PostID=$2&amp;Width=100&amp;Height=100" />
      <url name="gallery_PictureUrlTypeSecondaryThumb"  path="" pattern="##mediaGalleryName/images/(\d+)/secondarythumb/$" vanity="redirect.ashx?App=$1&amp;PostID=$2&amp;Width=160&amp;Height=160" />
      <url name="gallery_PictureUrlTypeOriginal"  path="" pattern="##mediaGalleryName/images/(\d+)/original/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="gallery_PictureUrlType_FriendlyNameThumb"  path="" pattern="##mediaGalleryName/images/thumb/([a-zA-Z0-9\-\._]*?)/$" vanity="redirect.ashx?App=$1&amp;Width=100&amp;Height=100&amp;PostName=$3" />
      <url name="gallery_PictureUrlType_FriendlyNameSecondaryThumb"  path="" pattern="##mediaGalleryName/images/secondarythumb/([a-zA-Z0-9\-\._]*?)/$" vanity="redirect.ashx?App=$1&amp;Width=160&amp;Height=160&amp;PostName=$3" />
      <url name="gallery_PictureUrlType_FriendlyNameOriginal"  path="" pattern="##mediaGalleryName/images/original/([a-zA-Z0-9\-\._]*?)/$" vanity="redirect.ashx?App=$1&amp;PostName=$3" />
      <url name="gallery_ViewEmailSubscription"  path="" pattern="##mediaGalleryName/emailsubscriptions/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewAbout"  path="" pattern="##mediaGalleryName/about/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewGallery"  path="" pattern="##mediaGalleryName/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewCategory"  path="" pattern="##mediaGalleryName/category(\d+)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2" />
      <url name="gallery_ViewPicture_Gallery"  path="" pattern="##mediaGalleryName/picture(\d+)/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="gallery_ViewPicture_Category"  path="" pattern="##mediaGalleryName/category(\d+)/picture(\d+)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2&amp;PostID=$3" />
      <url name="gallery_ViewExif_Gallery"  path="" pattern="##mediaGalleryName/exif/picture(\d+)/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="gallery_ViewExif_Category"  path="" pattern="##mediaGalleryName/category(\d+)/exif/picture(\d+)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2&amp;PostID=$3" />
      <url name="gallery_ViewFile_Gallery"  path="" pattern="##mediaGalleryName/file(\d+)/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="gallery_ViewFile_Category"  path="" pattern="##mediaGalleryName/category(\d+)/file(\d+)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2&amp;PostID=$3" />
      <url name="gallery_ViewOrderPrints"  path="" pattern="##mediaGalleryName/(\d+)/order/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="gallery_ViewPicture_Gallery_FriendlyName"  path="" pattern="##mediaGalleryName/([a-zA-Z0-9\-\._]*?)/$" vanity="redirect.ashx?App=$1&amp;PostName=$2" />
      <url name="gallery_ViewPicture_Category_FriendlyName"  path="" pattern="##mediaGalleryName/category(\d+)/([a-zA-Z0-9\-\._]*?)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2&amp;PostName=$3" />
      <url name="gallery_AllTags"  path="" pattern="##mediaGalleryName/tags/$" vanity="redirect.ashx?App=$1" />
      <url name="gallery_ViewTags"  path="" pattern="##mediaGalleryName/tags/(.*?)/$" vanity="redirect.ashx?App=$1&amp;Tags=$2" />
    </location>

    <!-- redirections for old file gallery URLs -->
    <location name="files" path="/files/" physicalPath="/media/">
      <url name="fileshome"  path="" pattern="$" vanity="redirect.ashx?" />
      <url name="files_ViewFolder"  path="" pattern="folders/##mediaGalleryName/$" vanity="redirect.ashx?App=$1" />
      <url name="files_ViewCategory"  path="" pattern="folders/##mediaGalleryName/category(\d+)/$" vanity="redirect.ashx?App=$1&amp;CategoryID=$2" />
      <url name="files_ViewEntry"  path="" pattern="folders/##mediaGalleryName/entry(\d+)/$" vanity="redirect.ashx?App=$1&amp;PostID=$2" />
      <url name="files_Download"  path="" pattern="folders/(\d+)/download/$" vanity="redirect.ashx?PostID=$1" />
      <url name="files_DeleteEntry"  path="" pattern="deleteentry/$" vanity="redirect.ashx?App=$1" />
      <url name="files_Rss_Tags"  path="" pattern="folders/##mediaGalleryName/rss/$" vanity="redirect.ashx?App=$1" />
      <url name="files_TopDownloadsRss"  path="" pattern="folders/##mediaGalleryName/TopDownloads/rss/$" vanity="redirect.ashx?downloads=true&amp;App=$1" />
      <url name="files_aggregate_TopDownloadsSyndication"  path="" pattern="TopDownloads/MainFeed/$" vanity="redirect.ashx?downloads=true" />
      <url name="files_aggregate_Syndication"  path="" pattern="MainFeed/$" vanity="redirect.ashx?" />
      <url name="files_ViewFolder_AllTags"  path="" pattern="folders/##mediaGalleryName/tags/$" vanity="redirect.ashx?App=$1" />
      <url name="files_ViewFolder_Tags"  path="" pattern="folders/##mediaGalleryName/tags/(.*?)/$" vanity="redirect.ashx?App=$1&amp;Tags=$2" />
      <url name="files_ViewFolder_old"  path="" pattern="(\d+)/##mediaGalleryName/$" vanity="redirect.ashx?App=$2&amp;GroupID=$1" />
      <url name="files_ViewCategory_old"  path="" pattern="(\d+)/##mediaGalleryName/category(\d+)/$" vanity="redirect.ashx?App=$2&amp;CategoryID=$3&amp;GroupID=$1" />
      <url name="files_ViewEntry_old"  path="" pattern="(\d+)/##mediaGalleryName/entry(\d+)/$" vanity="redirect.ashx?App=$2&amp;PostID=$3&amp;GroupID=$1" />
      <url name="files_Download_old"  path="" pattern="(\d+)/download/$" vanity="redirect.ashx?PostID=$1" />
      <url name="files_Rss_old"  path="" pattern="(\d+)/##mediaGalleryName/rss/$" vanity="redirect.ashx?App=$2&amp;GroupID=$1" />
      <url name="files_TopDownloadsRss_old"  path="" pattern="(\d+)/##mediaGalleryName/TopDownloads/rss/$" vanity="redirect.ashx?downloads=true&amp;App=$2&amp;GroupID=$1" />
    </location>

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 5
Page 1 of 1 (5 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com