Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 11th, 2005, 12:55 PM
niko32 niko32 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 8 niko32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 11 m 54 sec
Reputation Power: 0
Images issue ?

Hi.

Have just installed mssql on my local computer for test purposes. Have a page where I store images url in a db table and displays images on the page based on URL ID.

After upsizing from access to mssql it Wont work.
The image is not displayed when page is tested using IIS.

Here is my statement (recordset "profiler" based on url ID):

<% if (profiler.Fields.Item("bilde").Value <>"") then %>
(DISPLAY IMAGE BASED ON URL ID LIKE THIS
<img src="<%=(profiler.Fields.Item("bilde").Value)%>">
<% else %>
(a empty db row gives the text
NO IMAGE.
<% end if %>

Is there a security option in mssql that prevents image from being displayed? I have also checked the MSSQL table after upsize, and the image URL is there.

Suggestions?

Bjorn.

Reply With Quote
  #2  
Old August 11th, 2005, 03:00 PM
nofriends's Avatar
nofriends nofriends is offline
Senior Water Wizard
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Aug 2004
Location: Cape Town, RSA
Posts: 10,186 nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)nofriends User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1Folding Points: 106544 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 Days 7 h 36 m 24 sec
Reputation Power: 699
does it say NO IMAGE, or does the URL of the image not link to the physical file anymore? if the url is comming through in the sql, there is no reason it shouldnt work the same way as in access
__________________
Look! Its a ShemZilla



Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Images issue ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT