0

Image size in fx field

IMAGES SIZE:

I have a table, containing images, to be used as headers in other places of my database

I have made the images to fit the size of the header space - a fx field :

(select HEADERS).Header9

but no matter what I do, the image shrinks. 

what can I do?

The blue "PERSONAS" image should be as large as the green background

Thanks,

John.

11 replies

null
    • Paul_Chappell
    • 1 yr ago
    • Reported - view

    The resolution of your original image is probably too small. You need a larger image otherwise even if you could make it fit it would probably appear distorted.

      • KAXIG ApS
      • John.1
      • 1 yr ago
      • Reported - view

      Paul Chappell , the original image is based on a screenshot in order to have the same dimension as the form itself - and it doesn't matter what size of image I use, it always "shrinks"... 

    • KAXIG ApS
    • John.1
    • 1 yr ago
    • Reported - view

    just to illustrate - I took the screenshot of the problem - placed it in the "header-field" - and even made the field larger...

    I've been desperately looking for an option to make the image crop, resize, stretch or whatever it takes to make it fit...

      • Paul_Chappell
      • 1 yr ago
      • Reported - view

      John unfortunately that’s not the way images work. You can’t just take a large screenshot. You need a large resolution original and then it will automatically shrink/resize to the area of your image field and fill the field. Try it with a high res photo.

    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    You need something with html. See this post for info: https://forum.ninox.com/t/p8hrmy2#m1hrrvt

    Steven

    • KAXIG ApS
    • John.1
    • 1 yr ago
    • Reported - view

    Paul did try a 2000 x 500 px img. with same result (so perhaps I misunderstand something :)

    RoSoft_Steven thanks for the link. Made it work with a Google drive image URL placed in a field in the actual form.

    Now I just need to figure out how to pick the image from another table in order to use it as a header on the form. A little late night task for me I guess :))

      • Paul_Chappell
      • 1 yr ago
      • Reported - view

      John Give it a try. Take a photo. Upload it. And resize.

    • KAXIG ApS
    • John.1
    • 1 yr ago
    • Reported - view

    An image says more than a thousand words... this short video is appr. 1800 images.. that saves us a lot of words :-)

    https://vimeo.com/716675868

    Hope this explains what I'm trying to do. (The purpose of the image is to be a HEADER on each record. So I just want to keep ONE image, being shown on all relevant forms)

     

    But Paul Chappell I don't see any resize options anywhere?.... 

      • Paul_Chappell
      • 1 yr ago
      • Reported - view

      John Try using an html() command with style attributes:

    • KAXIG ApS
    • John.1
    • 1 yr ago
    • Reported - view

    Paul Chappell Thanks Paul. I think my problem stems from Birgen Hansen teaching me the trick of having all internal header images etc. stored in one record,  in one table, and then using the "select(Headers).header9" formula to fetch the actual image. But that of course was intended for the local Mac version of Ninox - and now, using the web version, I see that there is no need for that little tweak anymore.

    So I'll go with your solution instead. Thanks :-)

    / John 

      • Paul_Chappell
      • 1 yr ago
      • Reported - view

      John Thanks John. Of course, the other issue with storing large images in a DB is it increases the size of the database. Sometimes this is unavoidable but probably not needed in your case.

Content aside

  • Status Answered
  • 1 yr agoLast active
  • 11Replies
  • 230Views
  • 3 Following