Picture in item card
seyhock
Member Posts: 33
Dear all,
We are thinking of putting picture in item card.
But some said it is not a good idea because of space/memory problems.
Wonder anyone of you encounter any issue?
I also notice that picture function only accept bmp file, how can I change it to jpg file with smaller file size.
Thx.
We are thinking of putting picture in item card.
But some said it is not a good idea because of space/memory problems.
Wonder anyone of you encounter any issue?
I also notice that picture function only accept bmp file, how can I change it to jpg file with smaller file size.
Thx.
0
Comments
-
To figure out how much space it will take, just do the math. If you have a 30KB .bmp file, and you store 10,000 of them, this is only 300MB of space, not too much in today's measures.
Navision will store any picture, but will only display .bmps, and it will not support any visual OCX control. If you want to display a .jpg you would have to go to unusual measures, like exporting the image and invoking a screen through a command prompt. At least that's the battle I've had to fight.0 -
There is one performance problem - each BLOB field on SQL option leads to extra call which calculate size of the blob, and this is performance problem mainly on lists. It means that when you do List on Items, for each line the size will be calculated, and this is VERY time consuming operation...0
-
Kine's right. So, take a look to that post an my answers.
There you can also see the sql statement.
http://www.mibuso.com/forum/viewtopic.p ... light=blob
RegardsDo you make it right, it works too!0 -
you caould also put a link to the pic or if they are in another directory you can call for the pic onafterget record to show without savfing it in nav.
http://www.mibuso.com/forum/viewtopic.php?t=23593
in the dowload section there are jpg viewers
http://www.mibuso.com/forum/viewtopic.php?t=3430
http://www.mibuso.com/forum/viewtopic.php?t=108440 -
Hi
If you really want to store your pictures in the database, I would suggest create a new table, for example: Item Picture, and give it the same key as the item table ("No.") and only store the pictures in that new table.
Then only read this table when you need the picture displayed.
Also, put a delete statement in the OnDelete trigger of the Item table to delete the corresponding record in this new table, this to ensure that the picture gets deleted when you delete the item. This method will not impact performance as bad.
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
I would like to find out exactly what the correct bitmap sizing should be if you have a picture attached to an item in Navision. I have an issue at the moment where the picture needs downsizing quite significantly to show a true reflection of the image (that is unless you maximise the image) has any got any specific knowledge on this?
thanks in advance
0 -
0
-
The bottom line is Navision displays the bitmap the same as HTML, at 72dpi. That's your size guideline.0
-
thanks for the replies - the bitmap software works a treat and i think the best approach is to use an add on to re-format the pictures.
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
