Hi all
I hope someone can help as I am completly stumped.

I have several image thumbnails in a folder outside of my web root (for security reasons).
On a site page called 'showThumbnails.asp' I use code to cycle through this folder
and populate the src attribute of the img tag.

When the asp page is opened in a web browser, nothing shows, although if I look at the page source
(via the browser), the img tags are all properly completed.

I was just wondering whether its because the src attribute is populated via asp, because if I
prepopulate it via normal html, then an image shows.

Any ideas anyone?
TIA

Re: Help needed with ASP & IMG SRC by Stefan

Stefan
Sat Aug 19 03:17:36 CDT 2006

How you generate the browser viewable html should not make a difference
- once generated by ASP code it is same as static html

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


"John" <im@home.net> wrote in message news:obgde25hetum27n4id3mr8mkiuagugg1sj@4ax.com...
| Hi all
| I hope someone can help as I am completly stumped.
|
| I have several image thumbnails in a folder outside of my web root (for security reasons).
| On a site page called 'showThumbnails.asp' I use code to cycle through this folder
| and populate the src attribute of the img tag.
|
| When the asp page is opened in a web browser, nothing shows, although if I look at the page source
| (via the browser), the img tags are all properly completed.
|
| I was just wondering whether its because the src attribute is populated via asp, because if I
| prepopulate it via normal html, then an image shows.
|
| Any ideas anyone?
| TIA
|



Re: Help needed with ASP & IMG SRC by Thomas

Thomas
Sat Aug 19 08:56:31 CDT 2006

Does your ASP application (IUSER_machine) have permission to access the folder outside of the web
root?

Also what may you think that you are protection your images, since once they are displayed in the
browser, they can be copied.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================


"John" <im@home.net> wrote in message news:obgde25hetum27n4id3mr8mkiuagugg1sj@4ax.com...
> Hi all
> I hope someone can help as I am completly stumped.
>
> I have several image thumbnails in a folder outside of my web root (for security reasons).
> On a site page called 'showThumbnails.asp' I use code to cycle through this folder
> and populate the src attribute of the img tag.
>
> When the asp page is opened in a web browser, nothing shows, although if I look at the page source
> (via the browser), the img tags are all properly completed.
>
> I was just wondering whether its because the src attribute is populated via asp, because if I
> prepopulate it via normal html, then an image shows.
>
> Any ideas anyone?
> TIA
>



Re: Help needed with ASP & IMG SRC by John

John
Sat Aug 19 10:09:50 CDT 2006

Yes, access permissions are set. The server specifically sets aside a 'private' folder with
permissions already set.
I am not trying to protect the images as such. Its just that when the thumbnails are created on the
server using ASPJpeg, I need a folder such as this one, and as far as I can tell its the only way to
do it.

On Sat, 19 Aug 2006 09:56:31 -0400, "Thomas A. Rowe" <tarowe@mvps.org> wrote:

>Does your ASP application (IUSER_machine) have permission to access the folder outside of the web
>root?
>
>Also what may you think that you are protection your images, since once they are displayed in the
>browser, they can be copied.


Re: Help needed with ASP & IMG SRC by Thomas

Thomas
Sat Aug 19 12:08:19 CDT 2006

Ok, my host set the permissions on a folder/subweb that is within the web site fir using ASPUpload
and ASPJpeg. The permissions are based on the account login.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================


"John" <im@home.net> wrote in message news:c7aee2dbfatbfe2ojbgvmq58aj12q465m1@4ax.com...
> Yes, access permissions are set. The server specifically sets aside a 'private' folder with
> permissions already set.
> I am not trying to protect the images as such. Its just that when the thumbnails are created on
> the
> server using ASPJpeg, I need a folder such as this one, and as far as I can tell its the only way
> to
> do it.
>
> On Sat, 19 Aug 2006 09:56:31 -0400, "Thomas A. Rowe" <tarowe@mvps.org> wrote:
>
>>Does your ASP application (IUSER_machine) have permission to access the folder outside of the web
>>root?
>>
>>Also what may you think that you are protection your images, since once they are displayed in the
>>browser, they can be copied.
>