Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Accessing Medialibrary File directly
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tobias Paepke  
View profile  
 More options Jan 26, 6:31 am
From: Tobias Paepke <tobias.pae...@googlemail.com>
Date: Thu, 26 Jan 2012 12:31:58 +0100
Local: Thurs, Jan 26 2012 6:31 am
Subject: Accessing Medialibrary File directly
Hi guys,

I want to access mediafiles of a Page eg. Images and render thumbnails
of it. In elephantblog i see some ideas to access the files like the
blog_widget templatetag library with its "get_frontpage" tag. But I
can't pipe it through the feincms_thumbnail function.

Has anyone an idea?

tobias


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tobias Paepke  
View profile  
 More options Jan 26, 9:41 am
From: Tobias Paepke <tobias.pae...@googlemail.com>
Date: Thu, 26 Jan 2012 06:41:31 -0800 (PST)
Local: Thurs, Jan 26 2012 9:41 am
Subject: Re: Accessing Medialibrary File directly
well. solved:

for that elephantblog get_frontpage tag:

{% get_frontpage %}
    {% for entry in entries %}
        {% for content in entry.content.main %}
            <img src="{{ content.mediafile.file|
thumbnail:"100x100"}}">
        {% endfor %}
    {% endfor %}

for a feincms page accordingly:
    {% for content in feincms_page.content.main %}
            <img src="{{ content.mediafile.file|
thumbnail:"100x100"}}">
    {% endfor %}


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »