[SOLVED] Â Display one photo intrinsic size |
10/25/2019 3:48:48 PM |
ASPRunner.NET General questions | |
Pete K author
This should be so simple but I can't make it work for some reason. See this page: https://dna.fcps.net/veterans/honorgallery/view?editid1=7 |
|
admin 10/25/2019 | |
The page is asking for username/password. |
jadachDevClub member 10/25/2019 | |
Need credentials to view that page |
Pete K author 10/28/2019 | |
Apologies. This one should work: https://dna.fcps.net/veteransPublic/honorgallery/view?editid1=7 |
jadachDevClub member 10/28/2019 | |
Set your view as width and height to 0px and deselect everything else. |
Pete K author 10/29/2019 | |
Set your view as width and height to 0px and deselect everything else.
|
jadachDevClub member 10/29/2019 | |
Your view image settings dialog box looks a little different than mine. Are you using 10.3? Are you storing the image in a database table? |
Pete K author 10/29/2019 | |
Playing around with Dev Tools in Chrome, I think I found the offending CSS:
|
Pete K author 10/29/2019 | |
Your view image settings dialog box looks a little different than mine. Are you using 10.3? Are you storing the image in a database table?
|
jadachDevClub member 10/29/2019 | |
Wow, I am simply not having this issue at all. Maybe I should try an image upload to a folder instead of an image in the database, but like you said, it shouldn't matter. But this is the only difference in what we are doing. |
jadachDevClub member 10/29/2019 | |
Pete, I just did a quick test with both image stored in the database and image stored as a file. Both images were the same on my view page, both displaying in the actual pixel size. |
Pete K author 10/30/2019 | |
Pete, I just did a quick test with both image stored in the database and image stored as a file. Both images were the same on my view page, both displaying in the actual pixel size.
|
Pete K author 10/30/2019 | |
I guess it was something I did, but I haven't been able to replicate it. I had centered each cell, dragged labels and fields around, applied some formatting to the fields & labels (font weight, style, and size), and made a few edits in the editor (deleted the footer block and set the theme for the page to Darkly). Somewhere along the line, I must have done something that broke the formatting for the photo. I just recreated the view page step-by-step and this time the photo is displaying as expected. |