Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
I have a doubt, In MVC Project, i have to show multiple images in a web pages. When i search in the google about to show the Multiple images, then i have seen two methods , one is Showing images from local folder and another one is showing Images from database(Varbinary). And now i am confused that which method is more efficient and good.
Please help me to guide me to the right way..
Posted 2-Aug-12 20:09pm
Edited 2-Aug-12 20:31pm
Sergey Alexandrovich Kryukov at 3-Aug-12 1:32am
Not a correct question -- it depends.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The reason there's two methods is that it depends. Showing from a DB is more work, I would tend towards leaving the images in the file system and putting paths in the DB, in most cases.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 485
1 Maciej Los 288
2 OriginalGriff 229
3 Zoltán Zörgő 200
4 BillWoodruff 170
0 OriginalGriff 7,934
1 DamithSL 6,084
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,174
4 Kornfeld Eliyahu Peter 4,539

Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 3 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100