2 Replies Latest reply: Feb 9, 2015 5:30 PM by Nils Morris RSS

    Dynamic Image

      Hi Expert´s,

       

      I need to insert a logo of the company in my layout, but I have varie company, I need that this image to change when I will chose one company. Somebody Can help me?

       

      Thanks in advance!

       

      GA

        • Re: Dynamic Image
          Friedrich Hofmann

          Hi,

           

          a quick solution, though maybe not the most elegant one: Create one textbox for every company and put their logo inside and then just set some visibility conditions.

          HTH

          Best regards,

           

          DataNibbler

          • Re: Dynamic Image
            Nils Morris

            Hi

             

            You could use the Bundle Load Function.

             

            Company:
            LOAD * INLINE [
            PicName, Company
                 CompanyA.jpg, CompanyA
                 CompanyB.jpg, CompanyB
                 CompanyC.jpg, CompanyC
            ]
            ;

            CompanyPic:
            Bundle LOAD * INLINE [
            PicName, Path
                 CompanyA.jpg, ..\Pics\CompanyA.jpg
                 CompanyB.jpg, ..\Pics\CompanyB.jpg
                 CompanyC.jpg, ..\Pics\CompanyC.jpg
            ]
            ;

            And then a Text Object with an Image representation and following expression.

            =If(Company= Company,Info(PicName),'NA')