![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Has anyone ever been able to store JPEG images inside a D3 database? This would have to be D3/NT , on Rel. 7.2.1. I have a need to "associate" images with products that are for sale on the web. I seem to remember having seen something a while back that stated this was possible. Thanks, JJCSR |
#4
| |||
| |||
|
|
Don't store the images in D3. Store them anywhere else and link to them from D3. I recommend an application-level pointer to a domain or server, and then in your product master records just store a filename or relative path. This way you don't need to rework hardcoded pathnames if you decide to change your architecture. Your app softare can generate links or URLs as appropriate. HTH T "JJCSR" wrote: Has anyone ever been able to store JPEG images inside a D3 database? This would have to be D3/NT , on Rel. 7.2.1. I have a need to "associate" images with products that are for sale on the web. I seem to remember having seen something a while back that stated this was possible. Thanks, JJCSR |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I've done this exact thing a couple of times for jpg mugshots, storing mp3 and .wav items and .avi video. If you decide that for some reason you MUST store the jpg item inside pick, use the NT_BIN host name and do something like this: to copy to pick COPY nt_bin:/path/ picturename.jpg to pickfilenameItem will be copied to the file as a "binary" item. You won't be able to edit it or anything, but you'll be able to save it in a filesave. To Pick, it looks like object code. To use it, copy it back into windows COPY pickfilename picturename (o to NT_BIN:/path picturename.jpgMark Brown "Tony Gravagno" <g6q3x9lu53001 (AT) sneakemail (DOT) com.invalid> wrote in message news:rsisl2dslqc3bu5pd6tte19r3pbcvcmis2 (AT) 4ax (DOT) com... Don't store the images in D3. Store them anywhere else and link to them from D3. I recommend an application-level pointer to a domain or server, and then in your product master records just store a filename or relative path. This way you don't need to rework hardcoded pathnames if you decide to change your architecture. Your app softare can generate links or URLs as appropriate. HTH T "JJCSR" wrote: Has anyone ever been able to store JPEG images inside a D3 database? This would have to be D3/NT , on Rel. 7.2.1. I have a need to "associate" images with products that are for sale on the web. I seem to remember having seen something a while back that stated this was possible. Thanks, JJCSR |
#7
| |||
| |||
|
|
Thanks to all who replied to my posting, reharding JPEG images being stored in D3. It so happens that there is a change in method being used, and, instead, I will just be capturing the image names, not the image itself. The actual image will be stored in a MySQL file on our web site. Through the use of OPENDB, I can get to the image file, if necessary. Again, thanks and happy Holidays to all. Jim Cronin Mark Brown wrote: I've done this exact thing a couple of times for jpg mugshots, storing mp3 and .wav items and .avi video. If you decide that for some reason you MUST store the jpg item inside pick, use the NT_BIN host name and do something like this: to copy to pick COPY nt_bin:/path/ picturename.jpg to pickfilenameItem will be copied to the file as a "binary" item. You won't be able to edit it or anything, but you'll be able to save it in a filesave. To Pick, it looks like object code. To use it, copy it back into windows COPY pickfilename picturename (o to NT_BIN:/path picturename.jpgMark Brown "Tony Gravagno" <g6q3x9lu53001 (AT) sneakemail (DOT) com.invalid> wrote in message news:rsisl2dslqc3bu5pd6tte19r3pbcvcmis2 (AT) 4ax (DOT) com... Don't store the images in D3. Store them anywhere else and link to them from D3. I recommend an application-level pointer to a domain or server, and then in your product master records just store a filename or relative path. This way you don't need to rework hardcoded pathnames if you decide to change your architecture. Your app softare can generate links or URLs as appropriate. HTH T "JJCSR" wrote: Has anyone ever been able to store JPEG images inside a D3 database? This would have to be D3/NT , on Rel. 7.2.1. I have a need to "associate" images with products that are for sale on the web. I seem to remember having seen something a while back that stated this was possible. Thanks, JJCSR |
#8
| |||
| |||
|
|
Jim, I don't want to change any visition there but I'm wondering why it's necessary to store the images in a database at all, compared to a file system. I can't see any benefit and the overhead seems hugely against doing such a thing. Maybe we can learn something here. Thanks. T "JJCSR" wrote: Thanks to all who replied to my posting, reharding JPEG images being stored in D3. It so happens that there is a change in method being used, and, instead, I will just be capturing the image names, not the image itself. The actual image will be stored in a MySQL file on our web site. Through the use of OPENDB, I can get to the image file, if necessary. Again, thanks and happy Holidays to all. Jim Cronin Mark Brown wrote: I've done this exact thing a couple of times for jpg mugshots, storing mp3 and .wav items and .avi video. If you decide that for some reason you MUST store the jpg item inside pick, use the NT_BIN host name and do something like this: to copy to pick COPY nt_bin:/path/ picturename.jpg to pickfilenameItem will be copied to the file as a "binary" item. You won't be able to edit it or anything, but you'll be able to save it in a filesave. To Pick, it looks like object code. To use it, copy it back into windows COPY pickfilename picturename (o to NT_BIN:/path picturename.jpgMark Brown "Tony Gravagno" <g6q3x9lu53001 (AT) sneakemail (DOT) com.invalid> wrote in message news:rsisl2dslqc3bu5pd6tte19r3pbcvcmis2 (AT) 4ax (DOT) com... Don't store the images in D3. Store them anywhere else and link to them from D3. I recommend an application-level pointer to a domain or server, and then in your product master records just store a filename or relative path. This way you don't need to rework hardcoded pathnames if you decide to change your architecture. Your app softare can generate links or URLs as appropriate. HTH T "JJCSR" wrote: Has anyone ever been able to store JPEG images inside a D3 database? This would have to be D3/NT , on Rel. 7.2.1. I have a need to "associate" images with products that are for sale on the web. I seem to remember having seen something a while back that stated this was possible. Thanks, JJCSR |
![]() |
| Thread Tools | |
| Display Modes | |
| |