[campsite-support] Gallery
  • Greetings everyone,

    we have looking for some solution for managing pictures in Campsite
    articles... currently we are not using editor for inserting image, but
    using image numbers in templates so pictures needs to be prepared for
    that(e.g. thumbnail is always 1, and large version is always 2, so we
    print them directly in template without user interaction in WYSIWYG
    editor).
    We are currently looking for some addon/module/hack for campsite that
    will automaticaly create image thumbnail, when large version is uploaded
    via interface. So user will insert large image, and thumbnail will be
    automaticaly generated and linked to article where large image was
    uploaded.

    We would like to hear how do you deal images besides WYSIWYG.

    We heard that El Periodico has some solution so we would like to hear it
    too...

    Thanks in advance
    Slobodan Gogic
  • 5 Comments sorted by
  • I saw this personally at elPeriodico (the new design), so Carlos, please
    tell us all how you did it (it's based on Raed's scripts, no?).

    Sava



    Slobodan Gogic

    aonweb.org> cc:
    Subject: [campsite-support] Gallery
    06/11/2007 03:08 PM
    Please respond to
    campsite-support






    Greetings everyone,

    we have looking for some solution for managing pictures in Campsite
    articles... currently we are not using editor for inserting image, but
    using image numbers in templates so pictures needs to be prepared for
    that(e.g. thumbnail is always 1, and large version is always 2, so we
    print them directly in template without user interaction in WYSIWYG
    editor).
    We are currently looking for some addon/module/hack for campsite that
    will automaticaly create image thumbnail, when large version is uploaded
    via interface. So user will insert large image, and thumbnail will be
    automaticaly generated and linked to article where large image was
    uploaded.

    We would like to hear how do you deal images besides WYSIWYG.

    We heard that El Periodico has some solution so we would like to hear it
    too...

    Thanks in advance
    Slobodan Gogic





    Invest in Press Freedom: Visit http://www.mdlf.org/support-free-press
  • hi slobodan,

    possibly it makes sense to see if you can break into an existing
    development. for example, take a look at this plugin for wordpress:
    http://wordpress.org/extend/plugins/nextgen-gallery/
    they have a few very nice features. i like the workflow, too.

    ideally you install wordpress
    http://wordpress.org/download/
    and play a bit with the plugin.

    here is a howto:
    http://hqcode.com/?page_id=54

    At 15:08 06.11.2007, Slobodan Gogic wrote:
    >Greetings everyone,
    >
    >we have looking for some solution for managing pictures in Campsite
    >articles... currently we are not using editor for inserting image, but
    >using image numbers in templates so pictures needs to be prepared for
    >that(e.g. thumbnail is always 1, and large version is always 2, so we
    >print them directly in template without user interaction in WYSIWYG
    >editor).
    >We are currently looking for some addon/module/hack for campsite that
    >will automaticaly create image thumbnail, when large version is uploaded
    >via interface. So user will insert large image, and thumbnail will be
    >automaticaly generated and linked to article where large image was
    >uploaded.
    >
    >We would like to hear how do you deal images besides WYSIWYG.
    >
    >We heard that El Periodico has some solution so we would like to hear it
    >too...
    >
    >Thanks in advance
    >Slobodan Gogic


    Micz Flor - micz@mi.cz

    content and media development http://mi.cz
    --------------------------------------------------------
    http://www.campware.org -- http://www.suemi.de
    http://www.redaktionundalltag.de
    --------------------------------------------------------
  • Micz,

    elPeriodico has made everything work within Campsite as is, no ugly
    workarounds. This is why I'd like Carlos to come forth and tell us how he
    has done it.

    Sava



    Micz Flor
    > cc:
    Sent by: Subject: Re: [campsite-support] Gallery
    micz.flor@web.de


    06/11/2007 04:30
    PM
    Please respond to
    campsite-support






    hi slobodan,

    possibly it makes sense to see if you can break into an existing
    development. for example, take a look at this plugin for wordpress:
    http://wordpress.org/extend/plugins/nextgen-gallery/
    they have a few very nice features. i like the workflow, too.

    ideally you install wordpress
    http://wordpress.org/download/
    and play a bit with the plugin.

    here is a howto:
    http://hqcode.com/?page_id=54

    At 15:08 06.11.2007, Slobodan Gogic wrote:
    >Greetings everyone,
    >
    >we have looking for some solution for managing pictures in Campsite
    >articles... currently we are not using editor for inserting image, but
    >using image numbers in templates so pictures needs to be prepared for
    >that(e.g. thumbnail is always 1, and large version is always 2, so we
    >print them directly in template without user interaction in WYSIWYG
    >editor).
    >We are currently looking for some addon/module/hack for campsite that
    >will automaticaly create image thumbnail, when large version is uploaded
    >via interface. So user will insert large image, and thumbnail will be
    >automaticaly generated and linked to article where large image was
    >uploaded.
    >
    >We would like to hear how do you deal images besides WYSIWYG.
    >
    >We heard that El Periodico has some solution so we would like to hear it
    >too...
    >
    >Thanks in advance
    >Slobodan Gogic


    Micz Flor - micz@mi.cz

    content and media development http://mi.cz
    --------------------------------------------------------
    http://www.campware.org -- http://www.suemi.de
    http://www.redaktionundalltag.de
    --------------------------------------------------------





    Invest in Press Freedom: Visit http://www.mdlf.org/support-free-press
  • I would say:

    1) make new feature to campsite internal image gallery - import image
    by URL link
    2) Use the image the same way as any other image in campsite

    All other ways will be difficult to understand and will not follow
    campsite workflow or future workflow

    This is in my opinion the quickest and most universal way.

    Ondra

    On Nov 6, 2007, at 16:30 , Micz Flor wrote:

    > hi slobodan,
    >
    > possibly it makes sense to see if you can break into an existing
    > development. for example, take a look at this plugin for wordpress:
    > http://wordpress.org/extend/plugins/nextgen-gallery/
    > they have a few very nice features. i like the workflow, too.
    >
    > ideally you install wordpress
    > http://wordpress.org/download/
    > and play a bit with the plugin.
    >
    > here is a howto:
    > http://hqcode.com/?page_id=54
    >
    > At 15:08 06.11.2007, Slobodan Gogic wrote:
    >> Greetings everyone,
    >>
    >> we have looking for some solution for managing pictures in Campsite
    >> articles... currently we are not using editor for inserting image,
    >> but
    >> using image numbers in templates so pictures needs to be prepared for
    >> that(e.g. thumbnail is always 1, and large version is always 2, so we
    >> print them directly in template without user interaction in WYSIWYG
    >> editor).
    >> We are currently looking for some addon/module/hack for campsite that
    >> will automaticaly create image thumbnail, when large version is
    >> uploaded
    >> via interface. So user will insert large image, and thumbnail will be
    >> automaticaly generated and linked to article where large image was
    >> uploaded.
    >>
    >> We would like to hear how do you deal images besides WYSIWYG.
    >>
    >> We heard that El Periodico has some solution so we would like to
    >> hear it
    >> too...
    >>
    >> Thanks in advance
    >> Slobodan Gogic
    >
    >
    > Micz Flor - micz@mi.cz
    >
    > content and media development http://mi.cz
    > --------------------------------------------------------
    > http://www.campware.org -- http://www.suemi.de
    > http://www.redaktionundalltag.de
    > --------------------------------------------------------
    >
  • Hi,
    We used the Read's script: Thumbnail Generator, and make some changes to
    add some options we required. Attached to this email the original ZIP
    file with the instructions how to use, and another ZIP with the new file
    image.php we modify to used as function in the php.

    Basically the modify we made it's add a limit of size depend of Max
    Height or Max Width send it in the "article_thumbs" function. Example:

    article_thumbs ($NrArticle,1,"","",200,190);
    ?>

    "1" its the number of image attached to the article, 200 it's the Max
    Width and 190 it's the Max Height. This is because some pictures are to
    long vertically or horizontally and can break your design if you don't
    use a limit for each value. The original file just make a thumb
    proportionally with a value (width or height).

    Also print the "true" source file in the img tag, example:

    The original file print:
    alt="my image" />

    If you see its a URL and any person can acces to this and chance the
    values "w" or "h" and generate another thumbs, and will save in your
    server. Maybe a person can do a script to access automatically to this
    URL with random values to generate thumb and saturate your hard drive.
    Maybe its a little exaggerated, but just in case Wink

    With the new file only print the source file was generate, example:
    my image

    With this nobody can generate thumbs in your site, and create valid code
    for the W3C Wink

    Well, this is basically the changes for the script. Let me know it's
    works for you.

    ________________________
    Carlos Cabrera
    Web Developer
    www.elperiodico.com.gt











    sava.tatic@mdlf.org wrote:
    > I saw this personally at elPeriodico (the new design), so Carlos, please
    > tell us all how you did it (it's based on Raed's scripts, no?).
    >
    > Sava
    >
    >
    >
    > Slobodan Gogic
    >
    > aonweb.org> cc:
    > Subject: [campsite-support] Gallery
    > 06/11/2007 03:08 PM
    > Please respond to
    > campsite-support
    >
    >
    >
    >
    >
    >
    > Greetings everyone,
    >
    > we have looking for some solution for managing pictures in Campsite
    > articles... currently we are not using editor for inserting image, but
    > using image numbers in templates so pictures needs to be prepared for
    > that(e.g. thumbnail is always 1, and large version is always 2, so we
    > print them directly in template without user interaction in WYSIWYG
    > editor).
    > We are currently looking for some addon/module/hack for campsite that
    > will automaticaly create image thumbnail, when large version is uploaded
    > via interface. So user will insert large image, and thumbnail will be
    > automaticaly generated and linked to article where large image was
    > uploaded.
    >
    > We would like to hear how do you deal images besides WYSIWYG.
    >
    > We heard that El Periodico has some solution so we would like to hear it
    > too...
    >
    > Thanks in advance
    > Slobodan Gogic
    >
    >
    >
    >
    >
    > Invest in Press Freedom: Visit http://www.mdlf.org/support-free-press
    >
    >
    >
    >


    www.elperiodico.com.gt