img

IE HTTPS Ajax request image not showing up

Hi: In IE (7 or 8) and HTTPS mode, following RESPONSE is delivered for an AJAX request. My issue is the img was NOT requested at all by IE (figured out using Fiddler), broken img is shown instead. It all works perfectly in HTTP mode in IE and other browsers no problem rendering in both mode (please don't tell me not to use IE). Any thou...

Flex 4 htmlText - <a> with <img> doesnt work

Wow - I cant believe I actually have a question for Stack O'Flow! Been here many times but never needed to ask till now so thanks in advance! I have a Flex 4 app that I want to embed htmlText with an anchor tag and an image. The image does not display no matter what I do. I have even tried textflow with no luck. The image simply will ...

Display Img and Div inline - it's not rendered inline

In order to follow correct web standards, I've tried to layout image and div inline. In orde to achieve that - I've used display:inline property. But then I experienced the following issue: image renders from the center line, and div doesn't respect height parameter set to it. I've tried using line-height parameter, but that didn't give...

How can I embed images within my application and use them in HTML control?

Is there any way I can embed the images within my exe (as resource?) and use it in generated HTML ? Here are the requirements: A. I want to show dynamic HTML content (e.g. using webBrowser control, VS 2008, VB .Net, winForm desktop application) B. I want to generate the HTML on-the-fly using XML and XSL (file1.xml or file2.xml transfo...

jQuery find img

<img src="http://site.com/some/category/thread_17.jpg" /> <img src="http://site.com/other/thread_17.jpg" /> How to find the last image on the page, that have "thread_" after last "/" in its src attribute? Script should throw src to some variable. Ajax is used to find the images on external page $.ajaxQueue({ url: link, type: 'GET...

IMG tag does not display after INPUT tag

Given the html fragment <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Test JQuery AppendTo</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2...

simple question on html img tag

does the filename in src attribute of an img tag has a limit in number of characters? or compatibility issue among operating system(OS) browsers... for example: <img src="../img/misc/this-is-a-very-long-image-filename-of-an-image-named-leaders-systems02.gif" alt="Leaders Systems" class="emblem" /> is there no issue on this-is-a-very-...

How to find an image in an post

I've never done anything like this, so I'm not really sure what kind of tools within PHP i need to make this happen. I'm making a list of "recent news items" (just headlines) that'll show up on the side of the site, and would like to be able to look for the first image in a news post (I assume it has something to do with looking for an...

Missing IMG src leading to multiple unknown server requests

Hey my application has a map that is drawn with custom marker images rendered on OpenLayers VectorLayer. The problem here is that I see a lot of requests to the page that has this map and this comes to the server and all the server side code written for that page is executed and HTML is returned to the client and I get an error saying ...

make an image and a paragraph sit next to each other.

I have a box with an image and some txt and I want the txt to be horizontal to the image. I know this may be a pretty easy question but I can't seem to find a good answer on the interwebs. thanks for any help. <div id='container'> <img src='someimage.jpg'/> <p>some text</p> </div> ...

Image SRC From PHP Script on IIS - Not Displaying Consistently

Last week I converted my page img src values from pointing at image files to using a PHP script to serve up the images. The primary reason was to accommodate both files and database BLOBs as the actual source. Now when a user goes to a page, sometimes images show and sometimes not. If not, and the page is refreshed\reloaded, then the im...

flash file on an image in html

hi guys, i am designing a website with graphics. i have a picture with lots of graphics and i have used 'usemap' to link each graphic portion to another link on the website. I do not want to modify this image, but on this image, there is the company's logo as part of the big jpg image. I want to put a flash file on top of this image, so ...

flash file on an image in html

I am trying to place a flash file on an image at a specific location. how can i do this? i tried something like this <img src="images/logo.jpg"/> <object classid="homelogo"><embed src="images/logo.swf"></embed><object> bit it did not work. how can i overlap a flash file on top on an image at a specific location? Thanks. ...

How to use a function generating an image?

I have a php code which generate an gif-image defined by a set of parameters. I wrote this code as a function and now I want to insert an image into a html page. My problem is that whenever I use an img tag I need to specify a name of the file containing an image but I do not have an image in a file. The file containing a function for g...

HTML/Javascript use src string in onclick without retyping?

I want to use the same string in my img "src" in my "onclick" as a parameter to a function. What's the easiest way to do this? It works fine if I type it out both times but it doesn't look nice. Here is an example so you can see what I mean... <img src="/images/image1.jpg" onclick="doStuff('/images/image1.jpg')"/> I'm wondering if th...

Cache Hotlinked Image To Minimize Server Load

Before anyone rips me a new one...I HAVE PERMISSION to hotlink images from an external site. It works all good, however I don't like that everytime i refresh the page it pulls the images again. My server is running PHP, is there a way to cache the images once, then display them via some local code. I'm really just looking for a way to sp...

Local image displays in IE but not firefox?

Hey everyone, I have the following line to display an image: $output .= '<div><img src="C:/backup/images/000001_full.jpg"></div>'; ($output is then put into an html file as a local backup). When I view the page with IE, the image is displayed fine, but not with firefox. Any idea why? Thanks, Dave ...

How to shrink a DIV around a scaled IMG?

A simple (one might think!) question to all CSS gurus: I would like to shrink a DIV snugly around an IMG. The IMG is 600 x 800 and I needed it much smaller. So I go {height: 100%; width: auto;} and constrain the height via a wrapper DIV. However, to maintain the (unknown to me) AR, I cannot fix the width on the DIV. I tried to set t...

Obfuscate Img Src in HTML

I need a way my image sources to be hard to read. Currently I have <img id="testImg" src="http://images.mydomain.com/sample.png /> and I need it converted to something like: <img id="testImg" src="javascript:xorDecode('3233435jh45h3232kl232kl2323', '32434mfr')"/> Is this possible? P.S. And I want to to so for around 200 KB variou...

a:hover above img doesnt work properly with display block under IE & Opera

Had anyone got a problem with a:hover that has position: absolute and is above <img> under IE & Opera a:hover has background, but <a> hasnt, both has display: block. Thank you in advance for your help ... To see the problem please check this webpage: http://bckp.eu/test.html or use this code: <!DOCTYPE html PUBLIC "-//W3C//DTD X...