Forum Discussion

abdullahsallam's avatar
abdullahsallam
Frequent Visitor
9 years ago
Solved

Controlling URL Image Size

Hi, I'm suing Power BI to display image gallery. I created a URL column in my table and uploaded the images to a website, then changed the data category of the URL column to Image URL. I reached the result I wanted but the images displayed are so small! They icons rather than images. Although the images I created and uploaded to the website were large wrong. Is there any means to control the image size?

  • Under Format, find Grid and then Image Height. The default height for a table is 75 pixels, and the maximum height is 150 pixels. You could also look into custom visuals such as the Chiclet Slicer or Strippet Browser to see if that might also help meet your need for an image gallery.

12 Replies

  • deldersveld's avatar
    deldersveld
    Resident Rockstar

    Under Format, find Grid and then Image Height. The default height for a table is 75 pixels, and the maximum height is 150 pixels. You could also look into custom visuals such as the Chiclet Slicer or Strippet Browser to see if that might also help meet your need for an image gallery.

    • Anonymous's avatar
      Anonymous
      Not applicable

      hi deldersveld,

       

      I cannot seem to find the Grid option under the Format dropdown.

       

      Am I looking in the wrong place?

       

      thanks

       

       

      • MartinHalse's avatar
        MartinHalse
        Regular Visitor

        Hi, 

         

        i had the same problem, but found the solution.

         

        If you switch your table to be a matrix, then under the format pane you now have the grid option where you can control the image height.

        it works really well for me. 

    • lizziemon's avatar
      lizziemon
      Regular Visitor

      How do I do this for an image use 'Card' instead of 'Table' visual? I am using card as the image I want to display is dependent on a slicer. E.g. Select country and country's flag will be displayed

    • Anonymous's avatar
      Anonymous
      Not applicable

      Cool custom visual. Anonymous .

      But I need my image (Red, amber, green) to show based on a measure w/ an IF statement. I do not wish to manually change it via a slicer.

      • MartinHalse's avatar
        MartinHalse
        Regular Visitor

        Okay, you should be able to do this by using the switch function.

        Arrow2 =
        SWITCH(
        TRUE()
            ;[Development]=0
            ;BLANK()
            ;[Development]<0
            ;FIRSTNONBLANK(Table2[Red arrow];1)
            ;[Development]>0
            ;FIRSTNONBLANK(Table2[Green arrow];1)
        )
        In my Table2 i have links to pictures
  • Hi, I'm suing Power BI to display image gallery. I created a URL column in my table and uploaded the images to a website, then changed the data category of the URL column to Image URL. I reached the result I wanted but the images displayed are so small! They icons rather than images. Although the images I created and uploaded to the website were large wrong. Is there any means to control the image size?