Hi Gilles,
I know how to add a page. But this was another issue. The reason was it has duplicated web.configs in sub folders. I do not know is that the normal way. Anyway once I delete them works properly. Now I can compile it and see the changes.
Please can you tell me this. I am not asking coding. I know you can not give it me free of charge.
1) Can't I use Thumbnail.aspx without creating a new ImageDB.aspx ? If I create a new one like that how can I link with the control.
2) In the fist reply as an answer of this post you have mentioned like this.
You have to edit the code to do this. Look inside the project DotNetNuke.Store.WebControls and edit the file ProductDetail.ascx.cs. Search for the method processToken, you will find a swiitch case intruction, add a new case like "IMAGEDB" and write the correspondng code to read data from the database field. Then replace all references to the IMAGE token by IMAGEDB in your html template files.
But now your advice is to add a new ImageDB.aspx file to replace the thumbnail.aspx. Do I need to change the thumbnail.aspx ? Please can you tell me why ?
3) Can't I change the image file name to datafield to store image data (change string to image type) and use ?
4) Do I need to write an SQL inside the code to find the exact image? Then which web.config file should I use to write my connection string.? But I have excluded the web.config file in the DotNetNuke.Store.WebControls Project. Because It is giving an error when I include that web.config. Tell me why is this happening? Is this normal ? Where should I give my connection string ?
Thank you very much Gilles.Please help me to find this.