How to output a custom attribute for a file? thumbnail for pdf
Permalink
I'm trying to make file list using pdf's. I want each .pdf to have a small thumbnail as part of the list. I created a custom image attribute for my pdf files with the Handle 'Thumbfile' and have given uploaded and assigned each pdf a unique image using this attribute.
However, I cannot get the right combination to identify the file object and then output it.
Any ideas on how to output these custom attributes in a file list?
Thanks
However, I cannot get the right combination to identify the file object and then output it.
Any ideas on how to output these custom attributes in a file list?
Thanks
Thanks for the suggestion. I've looked at that before but the problem is that this add-on deals with pages and their attributes and I need something that will work with files and their attributes. specifically I want to display an attribute called 'thumbnail' for a pdf file.
I'll take a second look at it thought and see if I can modify some of the code.
I'll take a second look at it thought and see if I can modify some of the code.
Hi - I know this is quite an old thread now - but did you ever work out how to do this?
I've seen this other thread but wondered if you had a better or alternative method at all?
http://www.concrete5.org/community/forums/customizing_c5/pdf-thumbn...
Thanks.
I've seen this other thread but wondered if you had a better or alternative method at all?
http://www.concrete5.org/community/forums/customizing_c5/pdf-thumbn...
Thanks.
Works really nice. Might do the trick for you.