Issue with multiple Picture Slideshow WebPart on same page SharePoint 2013

Hi,

I added a picture slideshow webpart to page and it was working as required. However I added one more picture slideshow webpart to the same page pointing to different picture library, but both the webparts are displaying images of same library.

Kindly help.

January 14th, 2014 12:07pm

This is a known issue in 2013.  You could have multiple slideshow webparts on a page in 2010, but it won't work in 2013.  I haven't seen any notification that there will be a fix coming.  I also have never found a workaround.
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2014 1:23pm

Hi Paul,

I am facing same issue, did you find any work around or fix for this?

br,

Anil

February 13th, 2014 7:03am

The only workaround would be to write your own custom slideshow web part.  The out of the box one assumes it is the only instance on the page.  So if you have multiple occurrences all of them will use the settings from the last one configured.
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2014 12:39pm

Thanks...
March 10th, 2014 1:34pm

As paul Stork said you need to build your own custom visual web part. Below is the one which i have writeen . You can use the same if you like it.

<asp:Panel ID="Panel1" runat="server">
    <asp:DataList ID="CategoriesDataList" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"   OnItemCommand="CategoriesDataList_ItemCommand">
        <ItemTemplate>
            <table>
            
                <tr>
                    <td>
                        <asp:ImageButton Width="159px" Height="105px" ID="ImageButton1" runat="server" ImageUrl='<%# Eval("URL")%>' CommandName="Select"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblTitle" runat="server" Text='<%# Eval("Title")%>'></asp:Label>
                       
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
</asp:Panel>
protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DisplayImages();
            }
        }

        public void DisplayImages()
        {
            var oSPWeb = SPContext.Current.Web;
            SPList oSpList = oSPWeb.Lists["ImageLibrary"];
            SPListItemCollection itemCOllection = oSpList.Items;
            DataTable Imagetable = new DataTable();
            if (!Imagetable.Columns.Contains("Title"))
            {
                Imagetable.Columns.Add("Title");
            }
            if (!Imagetable.Columns.Contains("URL"))
            {
                Imagetable.Columns.Add("URL");
            }
            

            foreach (SPListItem item in itemCOllection)
            {
                DataRow dr = Imagetable.NewRow();
               
                dr["Title"] = item.Title;
                dr["URL"] = oSPWeb.Url + "/" + item.Url;

                Imagetable.Rows.Add(dr);
            }

            if (Imagetable != null)
            {
                CategoriesDataList.DataSource = Imagetable;
                CategoriesDataList.DataBind();

            }

        }

        protected void CategoriesDataList_ItemCommand(object source, DataListCommandEventArgs e)
        {
            var oSPWeb = SPContext.Current.Web;

            if (e.CommandName == "Select")
            {
                Label l;
                l = (Label)e.Item.FindControl("lblTitle");

                if (l != null)
                {
                    Response.Redirect(oSPWeb.Url + "/ActivitiesDetail.aspx?@ImageTitle=" + l.Text.ToString());

                    

                }
            }
        }

Thanks,

Sandy.....

Mark the Answer if you like the same

Free Windows Admin Tool Kit Click here and download it now
March 10th, 2014 2:03pm

Hi Sandy,

Thanks for your post. We are looking only for OOTB solution, not cutom code.

Any way it may useful for some one.

Br,

Anil

March 21st, 2014 12:18pm

Hi Paul,

I found a "simple" way to do this, its not pretty but it does work.

  1. Add a wiki page
  2. Add your picture slide show
  3. ensure the page displays 2 columns
  4. create a 2nd wiki page
  5. add the 2nd picture slide show to the 2nd page
  6. on the first page add a page viewer web part and point it to the 2nd page

The second slideshow now displays. You will, of course, have to use styles to remove the master page from the 2nd page.

In Edit Mode

as i said, not pretty...

Free Windows Admin Tool Kit Click here and download it now
February 24th, 2015 1:34pm

Hi Dave.

Actually I'm facing the same problem, and your solution above is fine with me, so please provide me with your style to remove the master page from the 2nd page.

Appreciate your cooperation.

Thanks & Regards...

Hanan SB

May 3rd, 2015 3:14am

Hi Hanan,

I have been asked for that multiple times so I posted a Blog article on my newly reactivated Blog

You can find it here including sample scripts:

https://davegopher.wordpress.com/2015/04/23/dual-picture-slideshow-web-parts-a-work-around/

Thanks

Dave

Free Windows Admin Tool Kit Click here and download it now
May 4th, 2015 1:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics