Welcome Guest, Not a member yet? Register   Sign In
Store images on database or filesystem?
#7

[eluser]Mushex Antaranian[/eluser]
As I get you, you don't want to keep another table in db for assigning images to your product, and think (truely Smile ) that it will require more resources with scanning directory for filenames with certain prefix.
Then you can simply create new directory for each product (lets say named by product id) and store images there. It will not let you connect an image with 2 or more product, but the same problem you'll have with prefixes.

P.S. I can't say anything about performance, I'm connecting files to items with db records, but looks like it will faster than via filtering thousands of images by prefix.


Messages In This Thread
Store images on database or filesystem? - by El Forum - 01-29-2009, 09:21 AM
Store images on database or filesystem? - by El Forum - 01-29-2009, 09:25 AM
Store images on database or filesystem? - by El Forum - 01-29-2009, 10:44 AM
Store images on database or filesystem? - by El Forum - 01-29-2009, 11:45 AM
Store images on database or filesystem? - by El Forum - 01-29-2009, 12:07 PM
Store images on database or filesystem? - by El Forum - 05-21-2009, 09:17 PM
Store images on database or filesystem? - by El Forum - 05-21-2009, 10:21 PM
Store images on database or filesystem? - by El Forum - 05-21-2009, 10:44 PM
Store images on database or filesystem? - by El Forum - 05-22-2009, 07:51 AM
Store images on database or filesystem? - by El Forum - 05-22-2009, 07:56 AM
Store images on database or filesystem? - by El Forum - 05-23-2009, 09:43 PM
Store images on database or filesystem? - by El Forum - 05-24-2009, 03:27 AM
Store images on database or filesystem? - by El Forum - 05-24-2009, 09:27 AM
Store images on database or filesystem? - by El Forum - 05-24-2009, 09:38 AM
Store images on database or filesystem? - by El Forum - 05-24-2009, 11:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB