image with thumb and full size

image with thumb and full size+issue

Image with Thumb and fullsize version after clicking

  • View
  • Changes
  • Options
  • Related
  • Edit
  • I would like to embed bigger pictures. I would like a thumb been included. Clicking on the thumb should open a popup with the full size image. Is that currently possible?

    Status:
    answered

  • View
  • Changes
  • Options
  • Related
  • Edit
  • when you create an image, it automatically uploads 4 different sizes: icon, small, medium, large, and full.  You can access the different sizes via inclusion syntax:

    You can easily add links that use these image inclusions as the text.  As for the popup, I'm sure it's possible, but it's not built in.  You would need to find a way to add the popup code yourself.


    I am not a rails expert. Please give me an advice where I could modify how an image url will be rendered?

    I found no way to link a small size image to a big size image. In the case that the target is an wagn expression I get parse errors:

     

    When I use insted of the physical imgae URL it works:

    [[ /card_images/0000/0006/KiezNetz_V2__1_.png| | ]]

    But that is an ugly solution. My users will never figure out the physical address of an uploaded image.

      --dermicha.....Tue Aug 02 02:18:24 -0700 2011


    In the standard link syntax...

     

    text

     

    ... the "text" part can be an inclusion, but the "cardname_or_url" part cannot. However, you can add useful urls to the beginning.

     

    For example,

     

     

    would give you this:

     

     

    Note that the initial forward slash leads wagn to treat it as a url, not a cardname.

     

    If that's not the exact end result you want, you can also play with "layout" and "view" CGI args.

     

    If you ultimately want to achieve this result in a patterned way, you may need to go into the html and write the link as an A tag. something like:

     

    <a href="image_with_thumb_and_full_size+discussion+imagename">

    </a>

      --Ethan McCutchen.....Sun Aug 07 10:32:25 -0700 2011


    btw, the popup code would not involve any new rails code; it would just be javascript.

      --Ethan McCutchen.....Sun Aug 07 10:35:45 -0700 2011

    try it

     

    wagneers

    intro

    videos

    features

    syntax

    weekly calls

    ideas

     

    twitter

    mailing list

     

    developers

    roadmap

    next release

    tickets

    pack API

    REST API

    one-pager

     

    github

    mailing list

     

    wagn.org

    recent

    todo