2006-11-20, 01:36 AM
KingArgyle Wrote:I guess what I was looking for was not having to have the UNC in the URL at all. What I was suggesting was a virtual directory for the images. I don't think cassini itself has built in support for this, but there is an enhanced version called CassiniEx which does support virtual directories.
The advantage is that if I wanted to access my pictures from a computer that didn't have access to the network drive to view them, then the image can be viewed as if it were just in another directory on the existing web server. To me, changing the way FireFox has it's default preferences setup just to be able to access an image isn't the correct way to address the problem. It's a short cut method. A couple of different ways would be to either:
1. Have the images directory physically under the gbpvr webserver directory. (Not the recommended way)
2. Have the site wrap the UNC so that it isn't included in the URL or as a file:/// option. The script it self would access the files to be displayed, but it would appear to be as a http:// request instead of a file request. Again, I'm not familiar enough with the .Net control you are using to do this, and it may mean more work than just using an existing control to do it. However, I think it keeps the access method browser independent, and doesn't have people change their security settings or configuration files.
I just don't like the idea of having people to mess around with their configuration settings, to get it to work on a different browser when their are ways to get it to work without changing browser settings.
I agree....not sure why FireFox incorpoerated this Security Policy. It started in version 1.5. The Security Policy is what is forcing this config change....the browser itself can handle it.....it just isn't natively allowed to do so.
Just to note the file:/// does not show up anywhere in the url....you have to either view page source or right-click on the image and show the properties to see it.
Here is the URL that shows up in the Photo page that displays the image:
Code:
http://den:7647/gbpvr/Photo.aspx?pic=_wEFRFxcTmFzbGl0ZS1zbWJnXERpc2stNFxQaWN0dXJlc1xCYWx0aW1vcmUgMjAwM1xCYWx0aW1vcmUgMjAwMyAwMDEuanBn
Code:
<img id="picture" class="photo" src="file://///Naslite-smbg/Disk-4/Pictures/Baltimore%202003/Baltimore%202003%20001.jpg" border="0" style="height:480px;width:640px;" /> <!-- Topbar end --><tr>
KingArgyle Wrote:As for the Thumbnails. If an image already has a thumbnail in it why not just stream the thumbnail itself? Maybe I'm misunderstanding that problem.
Thumbnails are just that a thumbnail....they are a picture that my abe 1"x1" max in size....enought o figure out what the picture is. If you then expand this 1"x1" thumbnail to something like 640x480 or 1280x960 you just get a crap picture since the thumbnail has to be scaled up to the new size....which just doesn't work.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's