473,756 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

possible to use <link type="image/gif" href=... ?

PJ6
Embedded javascript can be served from a DLL with an include that uses a
special URL generated by the Page.ClientScri pt.GetWebResour ceUrl method at
runtime. For example:

<script
src="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkpd1Yg Qqgig1EfiFj9_b7 U1&t=6332027792 31250800"type=" text/javascript"></script>

.... so can style sheets:

<link rel="stylesheet " type="text/css"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNj0haxM o-mjcdCmEaAxjaHk1 &t=633202779231 250800">

I want to also include embedded gifs in this way, like so:

<link type="image/gif"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkJ0ekv CovLIod-OmabkTCyUFnTKnV WSg0GFZIn388TN0 &t=633202779231 250800">

Only, I can't get this one to work. I'm not sure it can work. Is it possible
to "include" gif images?

Paul
Jul 17 '07 #1
3 2036
yes. be sure the mime type is correct when you call GetWebResourceU rl.

-- bruce (sqlwork.com)

PJ6 wrote:
Embedded javascript can be served from a DLL with an include that uses a
special URL generated by the Page.ClientScri pt.GetWebResour ceUrl method at
runtime. For example:

<script
src="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkpd1Yg Qqgig1EfiFj9_b7 U1&t=6332027792 31250800"type=" text/javascript"></script>

... so can style sheets:

<link rel="stylesheet " type="text/css"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNj0haxM o-mjcdCmEaAxjaHk1 &t=633202779231 250800">

I want to also include embedded gifs in this way, like so:

<link type="image/gif"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkJ0ekv CovLIod-OmabkTCyUFnTKnV WSg0GFZIn388TN0 &t=633202779231 250800">

Only, I can't get this one to work. I'm not sure it can work. Is it possible
to "include" gif images?

Paul

Jul 17 '07 #2
No. the only way to "include" an image in a web page is to display it with an
<img ../tag.
Peter
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com

"PJ6" wrote:
Embedded javascript can be served from a DLL with an include that uses a
special URL generated by the Page.ClientScri pt.GetWebResour ceUrl method at
runtime. For example:

<script
src="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkpd1Yg Qqgig1EfiFj9_b7 U1&t=6332027792 31250800"type=" text/javascript"></script>

.... so can style sheets:

<link rel="stylesheet " type="text/css"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNj0haxM o-mjcdCmEaAxjaHk1 &t=633202779231 250800">

I want to also include embedded gifs in this way, like so:

<link type="image/gif"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkJ0ekv CovLIod-OmabkTCyUFnTKnV WSg0GFZIn388TN0 &t=633202779231 250800">

Only, I can't get this one to work. I'm not sure it can work. Is it possible
to "include" gif images?

Paul
Jul 17 '07 #3
PJ6
I got it, I just needed to add a custom handler to serve embedded images
from my assembly.

http://msdn2.microsoft.com/en-us/library/ms973917.aspx

Paul

"PJ6" <no***@nowhere. netwrote in message
news:eM******** ******@TK2MSFTN GP04.phx.gbl...
Embedded javascript can be served from a DLL with an include that uses a
special URL generated by the Page.ClientScri pt.GetWebResour ceUrl method at
runtime. For example:

<script
src="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkpd1Yg Qqgig1EfiFj9_b7 U1&t=6332027792 31250800"type=" text/javascript"></script>

... so can style sheets:

<link rel="stylesheet " type="text/css"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNj0haxM o-mjcdCmEaAxjaHk1 &t=633202779231 250800">

I want to also include embedded gifs in this way, like so:

<link type="image/gif"
href="/DEV-WEB/WebResource.axd ?d=Fzr7sc4IZAEL IE4FCpgaNkJ0ekv CovLIod-OmabkTCyUFnTKnV WSg0GFZIn388TN0 &t=633202779231 250800">

Only, I can't get this one to work. I'm not sure it can work. Is it
possible to "include" gif images?

Paul

Jul 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4275
by: news | last post by:
I'm working with a CGI program that was using several standard buttons for input using <input type="submit" name="abuttonName" ... Now, I'm trying to replace the standard buttons with images using an onClick function. For 1 button it's easy enough - document.forms.submit(); but how do I let the CGI script know which one of the buttons were clicked?
6
17166
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to allow the users to add a shortcut (with icon) on their desktop, as well as seeing the icon in the URL. Our development server allows both HTTP and HTTPS connections, but the icon only appears to be available when requesting the page via HTTP???...
1
3051
by: Dave | last post by:
Hi all, I was trying to make an image submit button with a rollover and discovered to my suprise that there is no way to access a form element of the "image" type. I tried specifying it by name and also by the elements array with no luck. Even weirder, I can sandwich an image button in between other input types and then write a script diplaying the contents of the elements array and it acts as if the image button does not exist at all!...
22
2541
by: David. E. Goble | last post by:
Hi All; I have a few of these; sigsImages="sigs/finished1.jpg" sigsImages="sigs/foghorn.jpg" lower I have;
17
3208
by: Alan Silver | last post by:
Hello, I have a page which I am converting to use themes. The page has an HTML <input type="image"> element that is used to post to another page. I would like to replace this with a server control so I can add a skinid. I tried adding runat="server" and the skinid to the existing control, but that didn't work. Any other ideas? TIA --
2
2763
by: Alan Silver | last post by:
Hello, If I have the following HTML... <input type="image" src="fred.gif"> .... is there a way to specify the image in CSS rather than in the HTML? TIA
3
2257
by: =?Utf-8?B?V2lsbA==?= | last post by:
I have an image "button" which causes a postback. I handle the "click" with If Request.Form("btnBU7WD6_Submit.X") 0 Then... this works great. However, when a user double-clicks the image button the Page_Load (postback) is processed twice. This is a problem. Is there any easy way to detect that the image button has been double-cliked
0
9255
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6514
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5119
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3780
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2647
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.