[[BackLinksMenu]] [[TicketQuery(summary=TASK_NAME_HERE, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = ^(The purpose of the analysis is to give as much as possible of the needed information for designing and implementing the task.)^ == Overview == Image content should represent images as frame content. You should be able to get the size of an image. == Task requirements == You should create class ImageContent extending FrameContent. You should create class ImageResource extending BookResource. ImageResource should have method for getting the image resource size. == Task result == The result of this task should be source code. == Implementation idea == Create class ImageContent which is concrete implementation of FrameContent for images. ImageContent must override mainResource() and returns a Prop. Create class ImageResource which is concrete implementation of BookResource for image resources and have method size() for retrieving the image size. == Related == http://sophie2.org/trac/wiki/UNPLANNED_BASE_MODEL_FRAME_CONTENT_R0 http://sophie2.org/trac/wiki/BASE_RESOURCE_COMMONS_R0 == How to demo == Create a frame with image resource. Check if the resource is set correctly and check if the information about the resource is correct. Try changing the resource and check again the same things. = Design = = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository))^ = Testing = = Comments = ^(Write comments for this or later revisions here.)