Top "Image" questions

The image tag is for questions related to the loading, formatting, saving, compression, and display of images in the context of source code.

CSS: 100% width or height while keeping aspect ratio?

Currently, with STYLE, I can use width: 100% and auto on the height (or vice versa), but I still can't constrain …

css image height width
href image link download on click

I generate normal links like: <a href="/path/to/image"><img src="/path/to/image" /></…

html image download href
Get image data url in JavaScript?

I have a regular HTML page with some images (just regular <img /> HTML tags). I'd like to get …

javascript image firefox greasemonkey base64
Drop shadow for PNG image in CSS

I have a PNG image, that has free form (non square). I need to apply drop-shadow effect to this image. …

css image png transparency
Convert an image to grayscale in HTML/CSS

Is there a simple way to display a color bitmap in grayscale with just HTML/CSS? It doesn't need to …

image css grayscale
How to convert an image to base64 encoding?

Can you please guide me how can I convert an image from a URL to base64 encoding?

php image base64
How can I resize an image dynamically with CSS as the browser width/height changes?

I wonder how I could make an image resize along with the browser window, here is what I have done …

css image browser resize window
Define an <img>'s src attribute in CSS

I need to define an <img>'s src attribute in CSS. Is there a way to specify this …

css attributes image
embedding image in html email

I'm trying to send a multipart/related html email with embedded gif images. This email is generated using Oracle PL/…

html image oracle email mime
Refresh image with a new one at the same url

I am accessing a link on my site that will provide a new image each time it is accessed. The …

javascript image url refresh