Re: Explorer Layout

  •  03-01-2010, 9:19 AM

    Re: Explorer Layout

    Thanks for the quick reply.  I implemented the above code and it showed a red x where the image should be.
     
    I tried to alter
     
    var div=this.CreateItemDiv(c,null,(c.Title||GalleryLocalize.DEFAULTCATEGORYNAME)+" ("+c.Photos.length+")",c.Photos[0].Thumbnail.substr((c.Photos[0].Thumbnail.indexOf("/",2)+1),c.Photos[0].Thumbnail.length),128,128);
     
    to
     
    var div=this.CreateItemDiv(c,null,(c.Title||GalleryLocalize.DEFAULTCATEGORYNAME)+" ("+c.Photos.length+")",c.Photos[0].Thumbnail,128,128);
     
    and now the image is showing up, but the scaling is not correct so the picture looks very weird.  I must not have the code right.
     
    Thanks for any additional help you can provide.
View Complete Thread