{"id":509,"date":"2017-02-21T15:40:38","date_gmt":"2017-02-21T15:40:38","guid":{"rendered":"https:\/\/www.threesl.com\/blog\/?p=509"},"modified":"2018-10-22T11:18:50","modified_gmt":"2018-10-22T10:18:50","slug":"add-image-attribute-items","status":"publish","type":"post","link":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/","title":{"rendered":"Add an Image Attribute to Items"},"content":{"rendered":"<p>It is often helpful to be able to store image(s) inside items in a Cradle database.<\/p>\n<p>This is easy to set up. You simply add one or more new image &#8216;frame&#8217; attribute(s) to the type of item in which you want to store images, such as your test cases, or your System Breakdown Structure (SBS). To do this:<\/p>\n<p>1. Start WorkBench and login to your database as a user with PROJECT privilege so you can change the schema<br \/>\n2. Select &#8216;Project Setup&#8217; from the &#8216;Project&#8217; tab to open the schema<br \/>\n3. With &#8216;Options&#8217; set to &#8216;Item Definitions&#8217;, select the &#8216;Item&#8217; type (this is the default)<br \/>\n4. Select the item type and select &#8216;Frames&#8230;&#8217;<br \/>\n5. Select &#8216;New&#8230;&#8217; and enter the name of the new image attribute, such as: figure<br \/>\n6. Set the new attribute&#8217;s frame type to be an image (with no frame type, the frame stores plain text), such as GIF or JPEG (provided with all Cradle systems)<br \/>\n7. Select &#8216;OK&#8217; to close the schema<\/p>\n<p>Now any\/all items of your chosen item type can have a figure frame that can contain an image. When you view the attribute, the image will appear. You can capture images from external documents into the attribute using Document Loader. You can include the images in reports and in documents published by Document Publisher. If you edit the image, then the change history will store the images from before and after each edit.<\/p>\n<p>We hope that this is helpful!<\/p>\n<div class=\"shared-image\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-640 size-full\" src=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png\" alt=\"Add an Image Attribute to Items\" width=\"543\" height=\"392\" srcset=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png 543w, https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute-300x217.png 300w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/div>\n<h5>Article updated 22\/10\/2018 &#8211; Made image bigger<\/h5>\n<div><\/div>\n<aside class=\"mashsb-container mashsb-main mashsb-stretched\"><div class=\"mashsb-box\"><div class=\"mashsb-buttons\"><a class=\"mashicon-twitter mash-small mash-center mashsb-noshadow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=&amp;url=https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/&amp;via=threesl\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Tweet<\/span><\/a><a class=\"mashicon-facebook mash-small mash-center mashsb-noshadow\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.threesl.com%2Fblog%2Fadd-image-attribute-items%2F\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Share<\/span><\/a><a class=\"mashicon-subscribe mash-small mash-center mashsb-noshadow\" href=\"#\" target=\"_top\" rel=\"nofollow\"><span class=\"icon\"><\/span><span class=\"text\">Newsletter<\/span><\/a><div class=\"onoffswitch2 mash-small mashsb-noshadow\" style=\"display:none\"><\/div><\/div>\n            <\/div>\n                <div style=\"clear:both\"><\/div><\/aside>\n            <!-- Share buttons by mashshare.net - Version: 4.0.47-->","protected":false},"excerpt":{"rendered":"<p>It is often helpful to be able to store image(s) inside items in a Cradle database. This is easy to set up. You simply add one or more new image &#8216;frame&#8217; attribute(s) to the type of item in which you want to store images, such as your test cases, or your System Breakdown Structure (SBS). &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Add an Image Attribute to Items&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[6],"tags":[419],"class_list":["post-509","post","type-post","status-publish","format-standard","hentry","category-tips","tag-images"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add an Image Attribute to Items - 3SL Blog<\/title>\n<meta name=\"description\" content=\"Hints and Tips on how to add image attribute to items\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add an Image Attribute to Items - 3SL Blog\" \/>\n<meta property=\"og:description\" content=\"Hints and Tips on how to add image attribute to items\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/\" \/>\n<meta property=\"og:site_name\" content=\"3SL Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/3SLCradle\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-21T15:40:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-22T10:18:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png\" \/>\n<meta name=\"author\" content=\"3SL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threesl\" \/>\n<meta name=\"twitter:site\" content=\"@threesl\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"3SL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/\"},\"author\":{\"name\":\"3SL\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\"},\"headline\":\"Add an Image Attribute to Items\",\"datePublished\":\"2017-02-21T15:40:38+00:00\",\"dateModified\":\"2018-10-22T10:18:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/\"},\"wordCount\":254,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-an-Image-Attribute.png\",\"keywords\":[\"images\"],\"articleSection\":[\"Hints &amp; Tips\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/\",\"name\":\"Add an Image Attribute to Items - 3SL Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-an-Image-Attribute.png\",\"datePublished\":\"2017-02-21T15:40:38+00:00\",\"dateModified\":\"2018-10-22T10:18:50+00:00\",\"description\":\"Hints and Tips on how to add image attribute to items\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-an-Image-Attribute.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/Add-an-Image-Attribute.png\",\"width\":543,\"height\":392,\"caption\":\"Add an Image Attribute to Items\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/add-image-attribute-items\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add an Image Attribute to Items\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"name\":\"3SL Blog\",\"description\":\"From concept to creation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#organization\",\"name\":\"3SL\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"contentUrl\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/3SL_Logo_Medium.png\",\"width\":152,\"height\":80,\"caption\":\"3SL\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/3SLCradle\",\"https:\\\/\\\/x.com\\\/threesl\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threesl.com\\\/blog\\\/#\\\/schema\\\/person\\\/749ccd9b2d74303fa8927e06c2af8b0b\",\"name\":\"3SL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g\",\"caption\":\"3SL\"},\"sameAs\":[\"http:\\\/\\\/www.threesl.com\\\/\",\"https:\\\/\\\/x.com\\\/threesl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add an Image Attribute to Items - 3SL Blog","description":"Hints and Tips on how to add image attribute to items","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/","og_locale":"en_GB","og_type":"article","og_title":"Add an Image Attribute to Items - 3SL Blog","og_description":"Hints and Tips on how to add image attribute to items","og_url":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/","og_site_name":"3SL Blog","article_publisher":"http:\/\/facebook.com\/3SLCradle","article_published_time":"2017-02-21T15:40:38+00:00","article_modified_time":"2018-10-22T10:18:50+00:00","og_image":[{"url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png","type":"","width":"","height":""}],"author":"3SL","twitter_card":"summary_large_image","twitter_creator":"@threesl","twitter_site":"@threesl","twitter_misc":{"Written by":"3SL","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#article","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/"},"author":{"name":"3SL","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b"},"headline":"Add an Image Attribute to Items","datePublished":"2017-02-21T15:40:38+00:00","dateModified":"2018-10-22T10:18:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/"},"wordCount":254,"publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png","keywords":["images"],"articleSection":["Hints &amp; Tips"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/","url":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/","name":"Add an Image Attribute to Items - 3SL Blog","isPartOf":{"@id":"https:\/\/www.threesl.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#primaryimage"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#primaryimage"},"thumbnailUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png","datePublished":"2017-02-21T15:40:38+00:00","dateModified":"2018-10-22T10:18:50+00:00","description":"Hints and Tips on how to add image attribute to items","breadcrumb":{"@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#primaryimage","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/Add-an-Image-Attribute.png","width":543,"height":392,"caption":"Add an Image Attribute to Items"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threesl.com\/blog\/add-image-attribute-items\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threesl.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add an Image Attribute to Items"}]},{"@type":"WebSite","@id":"https:\/\/www.threesl.com\/blog\/#website","url":"https:\/\/www.threesl.com\/blog\/","name":"3SL Blog","description":"From concept to creation","publisher":{"@id":"https:\/\/www.threesl.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threesl.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.threesl.com\/blog\/#organization","name":"3SL","url":"https:\/\/www.threesl.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","contentUrl":"https:\/\/www.threesl.com\/blog\/wp-content\/uploads\/2017\/02\/3SL_Logo_Medium.png","width":152,"height":80,"caption":"3SL"},"image":{"@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/3SLCradle","https:\/\/x.com\/threesl"]},{"@type":"Person","@id":"https:\/\/www.threesl.com\/blog\/#\/schema\/person\/749ccd9b2d74303fa8927e06c2af8b0b","name":"3SL","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cee8089745b3e7d79c57d621cc634da71def3561fcf40d4932a3e38743e23af0?s=96&d=mm&r=g","caption":"3SL"},"sameAs":["http:\/\/www.threesl.com\/","https:\/\/x.com\/threesl"]}]}},"modified_by":"Phil Shaw","_links":{"self":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":6,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"predecessor-version":[{"id":4491,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions\/4491"}],"wp:attachment":[{"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threesl.com\/blog\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}