Re: Captions with each photo

  •  03-09-2012, 7:29 AM

    Re: Captions with each photo

    Hi woody6,
     
    The way below shows you how to show the photo comment under the image name in Classic Layout.
     
    1. Open file "\CuteSoft_Client\Gallery\Layout\Classic\Code.js"
     
    2. Find section below
     
    if(cs&&cs.length)
    {
    c2.innerHTML+="<br/><span class='GalleryItemNumComments'>"+cs.length+" "+GalleryLocalize.NUMCOMMENTS+"<span>";z
    }
     
    3. Change it to  
     
    if(cs&&cs.length)
    {
    for(var i=0;i<cs.length;i++)
    {
    c2.innerHTML+=cs[i].Content;
    }
    }
     
     
    It looks like
     
     
     
    Regards,
     
    Ken 
View Complete Thread