2/12/2008 12:01:12 PM
RE:problems with image gallery
A number of pages displayed by a data pager related to the 'Image gallery' web part is set to 50 by the default. This is reason why image gallery works fine for first 50 images and then renders the same image for every thumbnail above.
Could you please modify the file "~\CMSWebParts\Viewers\ImageGallery.ascx.cs"? Please find the method "pagerElem_OnDataSourceChanged" and add the following statement to the code on the line 623:
this.PagerControl.MaxPages = XYZ; // XYZ is value specifying number of items displayed by repeater (let's say '300')
Please note XYZ represents maximum number of pages displayed and rendered by data pager so you can specify it as necessary.