item.assets?

Galen King's Avatar

Galen King

11 Mar, 2010 11:36 PM via web

Is it possible to access linked files yet?

I'm trying to do something like this:

{% for image in item.assets %}{{ image.path }}{% endif %}

Cheers,

Galen

  1. Support Staff 2 Posted by John Nunemaker on 12 Mar, 2010 03:21 AM

    John Nunemaker's Avatar

    Galen, here is a link to where we explain the files tab:
    http://support.harmonyapp.com/discussions/questions/19-new-asset-integration

  2. 3 Posted by Joshua Suggs on 29 Jul, 2010 08:11 PM

    Joshua Suggs's Avatar

    I understand what you guys are trying to accomplish with the Files tab and the current functionality is beneficial. However, it was be extremely beneficial to be able to access linked files as template data (item.files or item.assets), especially for pages that do not have a predetermined number of uploads.

  3. Support Staff 4 Posted by Steve Smith on 29 Jul, 2010 08:16 PM

    Steve Smith's Avatar

    I understand the need for multiple-asset fields to be there. The biggest issue is that the files tab is not the place where that should be happening. We'll be adding multiple files and repeating fields into template data in the near future, which should be more than what you'll need for this set. Thanks for your patience!

  4. 5 Posted by Thomas Reynolds on 23 Jan, 2011 01:47 AM

    Thomas Reynolds's Avatar

    Any movement on this? It's been ~6 months and I'd love to have a bunch of thumbnails associated to either a blog post or a page.

  5. 6 Posted by Galen King on 23 Jan, 2011 01:55 AM

    Galen King's Avatar

    We'd love to see this too

  6. Support Staff 7 Posted by John Nunemaker on 25 Jan, 2011 02:45 PM

    John Nunemaker's Avatar

    The best way to do multiple file uploads is with sub-pages. If you page is product.tpl and you want to have multiple images for a product, you can just create a template named product.pic.tpl and use that for each sub page.

    That template can define a pic field, description, whatever you want. We have several customers that are using this method very successfully. We do it all over the place on orderedlist.com.

    The fact that it is possible in this way leads us to focus on things that are not possible, like forms, APIs, etc.

    Definitely not that we don't want to allow it at some point, but more that it currently is easy and possible. Hope that explains this a bit better.

  7. John Nunemaker closed this discussion on 25 Jan, 2011 02:45 PM.

  8. Thomas Reynolds re-opened this discussion on 25 Jan, 2011 04:21 PM

  9. 8 Posted by Thomas Reynolds on 25 Jan, 2011 04:21 PM

    Thomas Reynolds's Avatar

    What about on blog posts?

    -Thomas

  10. Support Staff 9 Posted by John Nunemaker on 25 Jan, 2011 04:28 PM

    John Nunemaker's Avatar

    It does not really make sense to me to have multiple images used this way on a blog post. The benefit of multiple images as I see it is for galleries and things like that. Usually when I use images in a blog post it is in a specific way, to show a point or provide another way of showing the information.

    If you really need a bunch of images on a blog post, just upload them with the files tab and paste them in as images where you want them.

  11. 10 Posted by Heinrich on 07 Apr, 2011 08:22 PM

    Heinrich's Avatar

    Who are you to define your customers needs?

    We started using Harmonyapp recently, and it has been a great experience. Until we came to the part where we needed image galleries, and more specific, image galleries inside our blog posts.

    I have worked on developing major CMS systems with hundreds of thousands of customers, and I know by experience how boring it is to create a great backend and GUI to handle files and images properly. But it MUST be done, and I am shocked that such a basic and important thing is not yet in place.

    When can we expect a real groovy file handling solution, that will support thumbs and highres versions of images that we upload, and that can be used as an image gallery inside ANY template type?

    What is the workaround until then? We must be able to show image galleries inside our blog posts.

  12. Support Staff 11 Posted by Brandon Keepers on 07 Apr, 2011 09:18 PM

    Brandon Keepers's Avatar

    Heinrich,

    We are in the process of updating templates to make it really easy for you to accomplish this. I can't say for sure when this will be available, but know that we are working hard on it.

    In the mean time, here's a work around:

    1. Add another text field to your blog post template that is just for slideshow images and add it to your template markup.
    2. Upload the files you want on the files tab, and add the images into your new template field.
    3. Use javascript to find any images in your new template field and display them as a slide show.

    Let me know if you have any questions.

  13. 12 Posted by Galen King on 08 Apr, 2011 02:52 AM

    Galen King's Avatar

    We're waiting patiently on this too.

    Cheers,

    Galen

    On 8 April 2011 08:22, Heinrich <
    ***@tenderapp.com> wrote:

  14. Support Staff 13 Posted by Jonathan Hoyt on 08 Apr, 2011 01:05 PM

    Jonathan Hoyt's Avatar

    Noted.

  15. 14 Posted by Thomas Reynolds on 26 Apr, 2011 06:01 PM

    Thomas Reynolds's Avatar

    Starting a pretty complicated portfolio site soon. Would love to have this.

  16. John Nunemaker closed this discussion on 04 May, 2011 04:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

24 Jan, 2012 04:02 PM
22 Dec, 2011 08:42 PM
12 Jan, 2012 12:50 PM
13 Jan, 2012 03:56 PM
19 Jan, 2012 10:31 AM