Morning,
Struggling with TinyJSONGallery. Making very slow progress with the whole wrapper. Finally managed to Upload files - although not reliably. More on that story later...
I'd assumed with the Gallery that there would be a mechanism to automagically populate the JSON with content.
I duplicated the tw_ImogenTheme. This dragged in the many TVs such as the TinyJSONGalleryTV. I stripped out the design stuff to fit into my own design including removal of the TinyMagicPublisher as I believe this is for front end which I'm not tackling just now. I added a chunk call [[$sample_Gallery_BxSlider_TJSON]] which is a duplicate of the demo page but as it uses getImageList I swapped in this
[[TinyJSONGalleryOutput? &galleryChunkOrJson=`[[$NatureAlbum_myGallery]]` &tpl=`NatureAlbum_rowTpl_bxslider` &imgCls=`pic` &rowCls=`magic` &linkCls=`linked`]]
And my new gallery resource using my duplicate template works. I get a nice gallery with Prev/Next showing the Nature images. Good.
So now, add my own images. I discovered that the Chunk with the images needs to have a name *_myGallery. So duplicated the NatureAlbum_myGallery to assets_myGallery. Now I'm stuck.
I had thought that the point was to automatically populate the JSON by pointing to a folder and then use Options Menu buttons like "Rebuild Thumbs/JSON from Server" and "Rebuild from Current JSON". So I stripped out the bulk of the JSON which lists all the Nature images and then changed the Location to my path. Like so -
[{"Location": "assets/images/&autoCreateThumb=1&justJSON=0&options=w=178,h=117,zc=t"}]
Trying the rebuild Thumbs/JSON from Server shows a popup with all the set JSON for cut and paste into the chunk but the path sticks stubbornly to the Nature gallery.
SCANNING: /home/blah/blah/assets/components/tinymcewrapper/
gallery/stockImages/nature/
So the buttons simply re-populate Nature images. Yet there appears to be nothing pointing to that folder. The forum posts above on the subject seem to suggest the JSON of the images needs to by typed in. Doesn't sound right. Can't see a Property anywhere.
Any ideas?