4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Streetwise on March 31, 2003, 09:36:29 PM
-
I'm trying to link a "Download URL" field to a network server that is not web enabled (no web server). When I enter this into the Download URL field, it doesn't like it.
file://Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg
I've tried modifying the member.php page to remove some of the format_URL statements, but to no avail.
I was able to successfuly do this with a snap network server using: //snapeserver/myimage.jpg only becuase the snapserver has a built in web server.
Any idears?
Thanks in advance.
Dave ANderson
-
actualy when u do //snapeserver/myimage.jpg it doesnt go through web.
// means network
and ONLY http:// means web
so, try use
//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg
-
try use
//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg
Actually, I had tried that as well which is what prompted my post, cause I'm stumped :(
Thanks
Dave
-
Let me ellaborate:
//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg in the Download_URL field does not give me an error in 4images when I use it in the Download_URL field. However, when I click on the download button for that image, it downloads CR3500.jpg as expected, but ends up being an invalid image when I try to view it. (it's only 4KB, whereas the actual image that I'm linking to on the network is 200k. Also, I can copy the URL above and paste it into my browser and get an error (which explains the wacky file size issue).
file://Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg appears to be the proper syntax that I'm after, at least for that network server. When I copy/paste it into my browser, it immediately displays the jpg image. However, when I go back and add 'file:' to the string in the Download_URL field, 4images immediately balks and says for me to 'check the path'.
So there must be a way to MOD this field to make it accept 'file:', right?
What's weird about this whole thing is that we have another network server (snap server) that I'm linking to using the //snapserver/etc... and do not need to use 'file:' in front of it. I don't understand what's up with that.
Thanks in advance as always!
Dave Anderson
-
Addendum:
The Snap Server that we have is an http server. That's why I can use //snapserver/myfile.jpg with no issues.
The second server that I'm trying to hook into is not an http server. That's why I need to use either file://newserver/myfile.jpg, or \\newserver\myfile.jpg. Neither of which works in 4images...
Any word on how to remove the URL validation from the Download URL field?
Thanks!
Dave