ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Targeting both thumbnail and full images from a Moblog entry

February 26, 2013 3:13pm

Subscribe [2]
  • #1 / Feb 26, 2013 3:13pm

    ccarter

    9 posts

    Hello,
    I have been able to get a Moblog running well but I need to access both the thumbnail and the full size image on two templates. Is this possible? I have been able to get the thumbnails to display but not the full size.
    Thanks for any help.
    Carole

  • #2 / Feb 26, 2013 6:50pm

    Matt:P

    277 posts

    Hi Carole

    Could you post an example of the code you’re using?

  • #3 / Feb 27, 2013 9:28am

    ccarter

    9 posts

    Thanks, Matt. Here it is.
    This is in the Moblog control panel which comes from the documentation:

    {images}
    {thumbnail}
    {/images}
    
    {files match="audio|files|movie"}
    <a href="http://{file}">Download File</a>
    {/files}

    In my template, I have it fairly simple:

    <div class="moblog">  
                
               {lt_content}
             
            </div> <!-- moblog -->

    What I am trying to do is to have a small image represented first, the thumbnail, which I am able to do. Then if a person continues on to a detail page, they see the full image version. My confusion is that the images are included in a text field and not in their own field. I am able to get the proper uploaded sizes but can’t target the different sizes on different templates. Also, for this particular project, the emails need to be simply an email message with attached images, not coded in any way. I hope this makes sense. Thank you for trying to help.
    Carole
    ps. the lt_content field is my main moblog field.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases