CollectiveAccessProject / ActiveArchive

ActiveArchive iPad app
0 stars 1 forks source link

Artist Detail Images #1

Open jlauters opened 8 years ago

jlauters commented 8 years ago

Currently this is a single string of img tags. If we want to do slideshow like functionality. this will need to be an array to use ion-slide-box

collectiveaccess commented 8 years ago

The services currently only return key/value pairs where the value is always a string. It shouldn't be too hard to modify it to return arrays. The only question is how to best configure the services.

Is this is blocking you from continuing?

jlauters commented 8 years ago

I jumped on to looking more at the search form submission. So I have some other things I can work on.

collectiveaccess commented 8 years ago

Ok cool. I'll try to work on the services tomorrow but it might have to wait until Thursday as I'm in meetings tomorrow.

jlauters commented 8 years ago

No worries, I can jump around until then!

collectiveaccess commented 8 years ago

Here's a simple solution: I just added a pipe ("|") delimiter between the tags. Maybe you can just split on the delimiter to get your list of images? Not elegant, but it keeps the service spec simple. If this doesn't work, I can expand the SimpleAPI service spec to allow for arrays of values on Thursday.

jlauters commented 8 years ago

Thanks! that should work just fine.