Fwd: [campsite-support] custom thumbnails
  • ---------- Forwarded message ----------
    From: Mugur Rus <mugur.rus@sourcefabric.org>
    Date: Wed, Nov 3, 2010 at 12:49 PM
    Subject: Re: [campsite-support] custom thumbnails
    To: campsite-support@lists.sourcefabric.org


    It's possible to specify the image max. width/height in the system
    preferences (see admin menu->configure->system preferences). All images
    embedded in the article text will be resized accordingly. When embedding an
    image into the article text you can also specify custom width/height that
    overrides the system preferences.

    If you want to display article images that were not embedded in the article
    text by using the template language you can specify the width/height in the
    image URL:
    {{ url options="image <image_number> width <width> height <height>" }}

    E.g.: {{ url options="image 10 width 150 height 100" }}

    On displaying images that were not embedded in the article text see {{
    list_article_images }}:
    http://en.flossmanuals.net/Campsite/Lists, "List of Article Images"

    Mugur Rus
    Senior Software Developer, Sourcefabric
    mugur.rus@sourcefabric.org

    Cluj-Napoca, Romania
    +40 (0)720 528408
    Skype: mugur_rus

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric



    On Mon, Nov 1, 2010 at 9:04 PM, sdancer75 <
    campsite-support@lists.sourcefabric.org> wrote:

    > Hi,
    >
    > Is that possible to create custom thumbnails for the attached images in the
    > article ?
    >
    > I have noticed that the engine creates automatically thumbnails for the
    > "image archive". So, is that possible to create such images with custom
    > preferences (size and quality) in our custom folder ?
    >
    > Regards,
    > George
    >