Quote from: Bruno17 at Jun 28, 2013, 01:45 AM
For getting the images you use the getImageList-snippet inside a migxLoopCollection, rowboat or bloX-tpl this way:
[[!getImageList? &value=`[[+images]]` &tpl=`yourImageTpl` &rowid=`[[+id]]`]]
in yourImageTpl you can then get the path to your image with:
assets/yourfolder/[[+property.rowid]]/[[+image]]
Thanks Bruno, that has worked and I can access the images from the database field.
However, (there's always one of them) there are still a couple of issues.
Firstly when creating a brand new entry for my database before an ID has been assigned to the row, if you try to upload images the folder name that is created is named 'new' rather than the id of the entry. Is it that a new entry has to be created before images can be uploaded, which I'm assuming it is - how could I get the Images tab to appear after an entry has been made and saved?
Secondly, I'm occasionally getting a failed message during the upload process although the images are actually uploaded.
And thirdly, if I try to upload images into more than one id row, it seems only the first id is remembered and all the images end up in that folder - is this a caching problem?
Otherwise I think this is looking really good. Thank you for all your input - have you got that
"Donate to Bruno" button going somewhere too?