Difference: PluginTestBatchUpload (1 vs. 7)

Revision 713 Aug 2012 - TomCraneAdmin

Line: 1 to 1
 

Demonstrate the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

Line: 14 to 14
 
  1. Check the Batch upload for zip file option.
  2. Check the Create a link to the attached file option.
  3. Optionally uncheck the Do not show attachment in table option to remove the table of attached pictures at the page footer.
Added:
>
>
  1. Click the Upload File button.
 -- TomCraneAdmin - 30 Jul 2012


Revision 603 Aug 2012 - TomCraneAdmin

Line: 1 to 1
 

Demonstrate the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

Line: 11 to 11
 
  1. Click on the Attach button in the Top Right.
  2. Browse to the location of the Zip file containing the pictures (jpeg, gif, png etc. files) at the Attach new file field.
Changed:
<
<
  1. Ensure the Batch upload for zip file option is checked.
>
>
  1. Check the Batch upload for zip file option.
 
  1. Check the Create a link to the attached file option.
  2. Optionally uncheck the Do not show attachment in table option to remove the table of attached pictures at the page footer.
-- TomCraneAdmin - 30 Jul 2012

Revision 503 Aug 2012 - TomCraneAdmin

Line: 1 to 1
 

Demonstrate the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

Revision 431 Jul 2012 - TomCraneAdmin

Line: 1 to 1
 

Demonstrate the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

Line: 9 to 9
 
  • The comments will be attached to the pictures when uploaded to the TWiki.
  • The Unix zip program will associate comments with the -c option. See man zip.
Changed:
<
<
  1. Click on the ATTACH button in the Top Right.
>
>
  1. Click on the Attach button in the Top Right.
 
  1. Browse to the location of the Zip file containing the pictures (jpeg, gif, png etc. files) at the Attach new file field.
  2. Ensure the Batch upload for zip file option is checked.
  3. Check the Create a link to the attached file option.
Line: 17 to 17
 -- TomCraneAdmin - 30 Jul 2012


Added:
>
>
 

Some random pictures uploaded from zipfile tompics2.zip

Changed:
<
<
  • Note: Some of these pictures have been resized. To resize embedded graphics objects, Edit the topic ( EDIT button top right) and drag the objects outlines.
>
>
  • Note: Some of these pictures have been resized. To resize embedded graphics objects, Edit the topic ( EDIT button top right) and drag the objects' outlines.
 
  • Tree wound compound:
    A310.jpg
Line: 38 to 39
 
  • A Mercury-in-glass maximum-minimum thermometer:
    pict_thermometer.jpg
Changed:
<
<
  • Tecso brand microwave oven:
    tesco-mtg06.jpg
>
>
  • Tesco brand microwave oven:
    tesco-mtg06.jpg
 
  • Treadle type Singer sewing machine:
    tmp.jpg

Revision 331 Jul 2012 - TomCraneAdmin

Line: 1 to 1
Changed:
<
<

Test the BatchUploadPlugin plugin

>
>

Demonstrate the BatchUploadPlugin plugin

  See BatchUploadPlugin for plugin details.

To use,

  • Prepare a Zip file containing the pictures to batch-upload.
  • Optionally associate Comments in the Zip file with each picture.
Changed:
<
<
  • The comments will be attached to the pictures when uploaded to the TWiki
>
>
  • The comments will be attached to the pictures when uploaded to the TWiki.
 
  • The Unix zip program will associate comments with the -c option. See man zip.
Deleted:
<
<
 
  1. Click on the ATTACH button in the Top Right.
  2. Browse to the location of the Zip file containing the pictures (jpeg, gif, png etc. files) at the Attach new file field.
  3. Ensure the Batch upload for zip file option is checked.
Changed:
<
<
  1. Check the Create a link to the attached file option
>
>
  1. Check the Create a link to the attached file option.
 
  1. Optionally uncheck the Do not show attachment in table option to remove the table of attached pictures at the page footer.
Deleted:
<
<
 -- TomCraneAdmin - 30 Jul 2012
Changed:
<
<
META FILEATTACHMENT attachment="A310.jpg" attr="h" comment="Tree wound compound" date="1343746397" name="A310.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/A310.jpg" size="31700" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="KV2000UB_on_ebay.jpg" attr="h" comment="Sony KV2000UB, vintage colour TV, built 1979" date="1343746397" name="KV2000UB_on_ebay.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/KV2000UB_on_ebay.jpg" size="37341" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="Untitled.jpg" attr="h" comment="Section of a PCB layout schematic" date="1343746397" name="Untitled.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/Untitled.jpg" size="129436" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia2.jpg" attr="h" comment="Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343746397" name="pict_dahlia2.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia2.jpg" size="157949" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia3.jpg" attr="h" comment="More Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343746397" name="pict_dahlia3.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia3.jpg" size="793753" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia4.jpg" attr="h" comment="Dahlias, Collarette type in foreground" date="1343746397" name="pict_dahlia4.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia4.jpg" size="94043" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_marrow.jpg" attr="h" comment="A large marrow" date="1343746397" name="pict_marrow.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_marrow.jpg" size="802841" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_pepper.jpg" attr="h" comment="Sweet pepper plants growing in the greenhouse" date="1343746397" name="pict_pepper.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_pepper.jpg" size="812629" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_thermometer.jpg" attr="h" comment="A Mercury-in-glass maximum-minimum thermometer" date="1343746397" name="pict_thermometer.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_thermometer.jpg" size="71921" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tesco-mtg06.jpg" attr="h" comment="Tecso brand microwave oven" date="1343746397" name="tesco-mtg06.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/tesco-mtg06.jpg" size="4365" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tmp.jpg" attr="h" comment="Treadle type Singer sewing machine" date="1343746397" name="tmp.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/tmp.jpg" size="32398" user="TomCraneAdmin" version="1"
>
>

Some random pictures uploaded from zipfile tompics2.zip

  • Note: Some of these pictures have been resized. To resize embedded graphics objects, Edit the topic ( EDIT button top right) and drag the objects outlines.

  • Tree wound compound:
    A310.jpg

  • Sony KV2000UB, vintage colour TV, built 1979:
    KV2000UB_on_ebay.jpg

  • Section of a PCB layout schematic:
    Untitled.jpg

  • Dahlias, (Nuit D'ete, dark red cactus in foreground):
    pict_dahlia2.jpg

  • More Dahlias, (Nuit D'ete, dark red cactus in foreground):
    pict_dahlia3.jpg

  • Dahlias, Collarette type in foreground:
    pict_dahlia4.jpg

  • A large marrow:
    pict_marrow.jpg

  • Sweet pepper plants growing in the greenhouse:
    pict_pepper.jpg

  • A Mercury-in-glass maximum-minimum thermometer:
    pict_thermometer.jpg

  • Tecso brand microwave oven:
    tesco-mtg06.jpg

  • Treadle type Singer sewing machine:
    tmp.jpg

META FILEATTACHMENT attachment="A310.jpg" attr="h" comment="Tree wound compound" date="1343756027" name="A310.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/A310.jpg" size="31700" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="KV2000UB_on_ebay.jpg" attr="h" comment="Sony KV2000UB, vintage colour TV, built 1979" date="1343756027" name="KV2000UB_on_ebay.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/KV2000UB_on_ebay.jpg" size="37341" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="Untitled.jpg" attr="h" comment="Section of a PCB layout schematic" date="1343756027" name="Untitled.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/Untitled.jpg" size="129436" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia2.jpg" attr="h" comment="Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343756027" name="pict_dahlia2.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_dahlia2.jpg" size="157949" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia3.jpg" attr="h" comment="More Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343756028" name="pict_dahlia3.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_dahlia3.jpg" size="793753" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia4.jpg" attr="h" comment="Dahlias, Collarette type in foreground" date="1343756028" name="pict_dahlia4.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_dahlia4.jpg" size="94043" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_marrow.jpg" attr="h" comment="A large marrow" date="1343756028" name="pict_marrow.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_marrow.jpg" size="802841" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_pepper.jpg" attr="h" comment="Sweet pepper plants growing in the greenhouse" date="1343756028" name="pict_pepper.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_pepper.jpg" size="812629" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_thermometer.jpg" attr="h" comment="A Mercury-in-glass maximum-minimum thermometer" date="1343756028" name="pict_thermometer.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/pict_thermometer.jpg" size="71921" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tesco-mtg06.jpg" attr="h" comment="Tecso brand microwave oven" date="1343756028" name="tesco-mtg06.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/tesco-mtg06.jpg" size="4365" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tmp.jpg" attr="h" comment="Treadle type Singer sewing machine" date="1343756028" name="tmp.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/309666478/tmp.jpg" size="32398" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tompics2.zip" attr="" comment="" date="1343757546" name="tompics2.zip" path="tompics2.zip" size="2926598" user="TomCraneAdmin" version="1"

Revision 231 Jul 2012 - TomCraneAdmin

Line: 1 to 1
 

Test the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

Changed:
<
<
  • Set DEBUG = 1
>
>
To use,
  • Prepare a Zip file containing the pictures to batch-upload.
  • Optionally associate Comments in the Zip file with each picture.
  • The comments will be attached to the pictures when uploaded to the TWiki
  • The Unix zip program will associate comments with the -c option. See man zip.

  1. Click on the ATTACH button in the Top Right.
  2. Browse to the location of the Zip file containing the pictures (jpeg, gif, png etc. files) at the Attach new file field.
  3. Ensure the Batch upload for zip file option is checked.
  4. Check the Create a link to the attached file option
  5. Optionally uncheck the Do not show attachment in table option to remove the table of attached pictures at the page footer.
  -- TomCraneAdmin - 30 Jul 2012
Changed:
<
<
  • a zipfile with a couple of small pictures in it:
    doomcube2.jpg

  • tesco-mtg06.jpg:
    tesco-mtg06.jpg

META FILEATTACHMENT attachment="doomcube2.jpg" attr="" comment="a zipfile with a couple of small pictures in it" date="1343649918" name="doomcube2.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/419585176/doomcube2.jpg" size="15072" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tesco-mtg06.jpg" attr="" comment="" date="1343649918" name="tesco-mtg06.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/419585176/tesco-mtg06.jpg" size="4365" user="TomCraneAdmin" version="1"
>
>
META FILEATTACHMENT attachment="A310.jpg" attr="h" comment="Tree wound compound" date="1343746397" name="A310.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/A310.jpg" size="31700" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="KV2000UB_on_ebay.jpg" attr="h" comment="Sony KV2000UB, vintage colour TV, built 1979" date="1343746397" name="KV2000UB_on_ebay.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/KV2000UB_on_ebay.jpg" size="37341" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="Untitled.jpg" attr="h" comment="Section of a PCB layout schematic" date="1343746397" name="Untitled.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/Untitled.jpg" size="129436" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia2.jpg" attr="h" comment="Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343746397" name="pict_dahlia2.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia2.jpg" size="157949" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia3.jpg" attr="h" comment="More Dahlias, (Nuit D'ete, dark red cactus in foreground)" date="1343746397" name="pict_dahlia3.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia3.jpg" size="793753" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_dahlia4.jpg" attr="h" comment="Dahlias, Collarette type in foreground" date="1343746397" name="pict_dahlia4.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_dahlia4.jpg" size="94043" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_marrow.jpg" attr="h" comment="A large marrow" date="1343746397" name="pict_marrow.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_marrow.jpg" size="802841" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_pepper.jpg" attr="h" comment="Sweet pepper plants growing in the greenhouse" date="1343746397" name="pict_pepper.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_pepper.jpg" size="812629" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="pict_thermometer.jpg" attr="h" comment="A Mercury-in-glass maximum-minimum thermometer" date="1343746397" name="pict_thermometer.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/pict_thermometer.jpg" size="71921" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tesco-mtg06.jpg" attr="h" comment="Tecso brand microwave oven" date="1343746397" name="tesco-mtg06.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/tesco-mtg06.jpg" size="4365" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tmp.jpg" attr="h" comment="Treadle type Singer sewing machine" date="1343746397" name="tmp.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/417115607/tmp.jpg" size="32398" user="TomCraneAdmin" version="1"

Revision 130 Jul 2012 - TomCraneAdmin

Line: 1 to 1
Added:
>
>

Test the BatchUploadPlugin plugin

See BatchUploadPlugin for plugin details.

  • Set DEBUG = 1

-- TomCraneAdmin - 30 Jul 2012

  • a zipfile with a couple of small pictures in it:
    doomcube2.jpg

  • tesco-mtg06.jpg:
    tesco-mtg06.jpg

META FILEATTACHMENT attachment="doomcube2.jpg" attr="" comment="a zipfile with a couple of small pictures in it" date="1343649918" name="doomcube2.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/419585176/doomcube2.jpg" size="15072" user="TomCraneAdmin" version="1"
META FILEATTACHMENT attachment="tesco-mtg06.jpg" attr="" comment="" date="1343649918" name="tesco-mtg06.jpg" path="/disc2/www/twiki/working/work_areas/BatchUploadPlugin/419585176/tesco-mtg06.jpg" size="4365" user="TomCraneAdmin" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback