Hi all,
I've read and read again the various threads on publishing images to the server, but can't seem to get it right...can someone put me straight please?
I have a local PC where the images are in c:\images
My Alpha database is in C:\Batches\
I have a Alpha database table (HPBatches) with an image file reference field (called batchphoto) and I've set the image associated with each record in that table in the (desktop) table (therefore the value in the one of the records' batchphoto fields would point to c:\images\batch1.jpg, or c:\images\batch2.jpg, for example)
All works well.
I've created a webproject and a grid based on my HPBatches table and included the batchphoto field, published the table to the local webroot - and the images display ok.
However, when I publish the project to my network server, the grid and data shows up ok, but the image field just says 'image not found'.
As I said I've read the other threads on the forum, plus looked at the help, but can't seem to relate them to my situation (I think I'm confusing myself !)
The published database is on the server's F:\ drive in F:\A5webroot,
The data is in F:\HPdata
Do I need to copy (ie using windows explorer) the images folder from my C:\ drive to the server's F:\ drive? or does the publishing process also magically copy the images to the server too?
I understand that I need to create a pathalias for the images before publishing again which will tell the published grid where to find the images on the server.
The desktop database has the images referenced to c:\images, so how do I tell the batchphoto grid field in the application published on the server to look in a different location (say F:\HPimages)?
Sorry if this has been asked before, but I just can't seem to 'get it'.
TIA,
Rich
I've read and read again the various threads on publishing images to the server, but can't seem to get it right...can someone put me straight please?
I have a local PC where the images are in c:\images
My Alpha database is in C:\Batches\
I have a Alpha database table (HPBatches) with an image file reference field (called batchphoto) and I've set the image associated with each record in that table in the (desktop) table (therefore the value in the one of the records' batchphoto fields would point to c:\images\batch1.jpg, or c:\images\batch2.jpg, for example)
All works well.
I've created a webproject and a grid based on my HPBatches table and included the batchphoto field, published the table to the local webroot - and the images display ok.
However, when I publish the project to my network server, the grid and data shows up ok, but the image field just says 'image not found'.
As I said I've read the other threads on the forum, plus looked at the help, but can't seem to relate them to my situation (I think I'm confusing myself !)
The published database is on the server's F:\ drive in F:\A5webroot,
The data is in F:\HPdata
Do I need to copy (ie using windows explorer) the images folder from my C:\ drive to the server's F:\ drive? or does the publishing process also magically copy the images to the server too?
I understand that I need to create a pathalias for the images before publishing again which will tell the published grid where to find the images on the server.
The desktop database has the images referenced to c:\images, so how do I tell the batchphoto grid field in the application published on the server to look in a different location (say F:\HPimages)?
Sorry if this has been asked before, but I just can't seem to 'get it'.
TIA,
Rich
Comment