You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Manuel Innerhofer (JIRA)" <ji...@apache.org> on 2009/12/14 14:07:18 UTC

[jira] Created: (CLEREZZA-25) implement thumbnail meta data generator

implement thumbnail meta data generator
---------------------------------------

                 Key: CLEREZZA-25
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
             Project: Clerezza
          Issue Type: New Feature
            Reporter: Manuel Innerhofer




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793217#action_12793217 ] 

Manuel Innerhofer commented on CLEREZZA-25:
-------------------------------------------

- renamed it to AlternativeRepresentationGenerator
- it now possible to configure the service to generate multiple alternative images.
- an alternative image is now only created if the the resolution should be smaller than the original. But I still use the ThreadLocal because that is in my opinion the easiest way to prevent the generation of alternative images for alternative images.
- I didn't add the size as properties as metadata (yet). I think this should be in a new MetaDataGenerator. We could add this in this generator, but I think it should be specialized. Creating alternative representations seems to me enough for one generator. I propose to rename to project to org.apache.platform.content.matadata and implement another generator (name?).

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer resolved CLEREZZA-25.
---------------------------------------

    Resolution: Fixed

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer resolved CLEREZZA-25.
---------------------------------------

    Resolution: Fixed

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer resolved CLEREZZA-25.
---------------------------------------

    Resolution: Fixed

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793217#action_12793217 ] 

Manuel Innerhofer edited comment on CLEREZZA-25 at 12/21/09 2:46 PM:
---------------------------------------------------------------------

- renamed it to AlternativeRepresentationGenerator
- it is now possible to configure the service to generate multiple alternative images.
- an alternative image is now only created if the the resolution should be smaller than the original. But I still use the ThreadLocal because that is in my opinion the easiest way to prevent the generation of alternative images for alternative images.
- I didn't add the size propertiy as metadata (yet). I think this should be in a new MetaDataGenerator. We could add this in this generator, but I think it should be specialized. Creating alternative representations seems to me enough for one generator. I propose to rename to project to org.apache.platform.content.matadata and implement another generator (name?).

      was (Author: mir):
    - renamed it to AlternativeRepresentationGenerator
- it is now possible to configure the service to generate multiple alternative images.
- an alternative image is now only created if the the resolution should be smaller than the original. But I still use the ThreadLocal because that is in my opinion the easiest way to prevent the generation of alternative images for alternative images.
- I didn't add the size as properties as metadata (yet). I think this should be in a new MetaDataGenerator. We could add this in this generator, but I think it should be specialized. Creating alternative representations seems to me enough for one generator. I propose to rename to project to org.apache.platform.content.matadata and implement another generator (name?).
  
> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-25:
----------------------------------------


- Once CLEREZZA-42 is closed this should check if the image is larger than the requested size and only generate a thumbnail if its actually bigger. 
- I think it would be better if the service could be configured with a string defining multiple thumbnails to be generated like "100x100, 30x30", obviously only the formats smaller than the original image are generated
- instead of "thumbnail" suffix use the respective size foo-90x90
- it might also be useful to generate images that are smaller than the original but definitivile not thumbnails (700x700), so maybe have an AlternateImageGenerator rather than just Thumbnail

- as we need the size of the original image anyway we could also add those properties as metadata here (which might yet give it another name)

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791232#action_12791232 ] 

Reto Bachmann-Gmür commented on CLEREZZA-25:
--------------------------------------------

- Is 50px a common default site for thumbnails?
- specify the unit (pixel) in the comments to the service properties
- IO exception are caught and the method retuns quietly, RuntimeException are not intercepted. I think if an IOException ic caught this should at least be logged, but I'd rather throw a RuntimeException
- variables should be thumbnailWidth rather than widthThumbnail

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793217#action_12793217 ] 

Manuel Innerhofer edited comment on CLEREZZA-25 at 12/21/09 2:45 PM:
---------------------------------------------------------------------

- renamed it to AlternativeRepresentationGenerator
- it is now possible to configure the service to generate multiple alternative images.
- an alternative image is now only created if the the resolution should be smaller than the original. But I still use the ThreadLocal because that is in my opinion the easiest way to prevent the generation of alternative images for alternative images.
- I didn't add the size as properties as metadata (yet). I think this should be in a new MetaDataGenerator. We could add this in this generator, but I think it should be specialized. Creating alternative representations seems to me enough for one generator. I propose to rename to project to org.apache.platform.content.matadata and implement another generator (name?).

      was (Author: mir):
    - renamed it to AlternativeRepresentationGenerator
- it now possible to configure the service to generate multiple alternative images.
- an alternative image is now only created if the the resolution should be smaller than the original. But I still use the ThreadLocal because that is in my opinion the easiest way to prevent the generation of alternative images for alternative images.
- I didn't add the size as properties as metadata (yet). I think this should be in a new MetaDataGenerator. We could add this in this generator, but I think it should be specialized. Creating alternative representations seems to me enough for one generator. I propose to rename to project to org.apache.platform.content.matadata and implement another generator (name?).
  
> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Innerhofer reassigned CLEREZZA-25:
-----------------------------------------

    Assignee: Manuel Innerhofer

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-25.
--------------------------------------


> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Manuel Innerhofer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791354#action_12791354 ] 

Manuel Innerhofer commented on CLEREZZA-25:
-------------------------------------------

- changed default size to 90x90 pixel after discussion with tsuy.
- throws now RuntimeException, which is caught and logged in AbstractDiscobitHandler. Otherwise other MetaDataGenerators would not be called.

> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (CLEREZZA-25) implement thumbnail meta data generator

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reopened CLEREZZA-25:
----------------------------------------


> implement thumbnail meta data generator
> ---------------------------------------
>
>                 Key: CLEREZZA-25
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-25
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Manuel Innerhofer
>            Assignee: Manuel Innerhofer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.