php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "HTML img tag"

What happens to the image file ("bild.png") generated by the PHP script and outputted in an <img> tag?

When the PHP script generates an image file ("bild.png") and outputs it in an <img> tag, the browser will attempt to display the image directly. Howev...

How can the issue of SVG images not being displayed in HTML img-src be resolved using PHP?

The issue of SVG images not being displayed in HTML img-src can be resolved by using PHP to read the SVG file and then outputting it as a base64 encod...

Are there alternative methods to outputting images from a database in PHP besides using <img src=bild.php?id=1>?

When outputting images from a database in PHP, using the <img src=bild.php?id=1> method is a common approach. However, an alternative method is to bas...

How can the <img> tag be used to display images generated by PHP scripts without causing header conflicts?

When using PHP scripts to generate images, it is important to ensure that the appropriate headers are set to indicate that the output is an image. Thi...

How can PHP beginners effectively filter out specific elements, such as IMG tags, from a webpage using Xpath queries?

To filter out specific elements like IMG tags from a webpage using Xpath queries in PHP, you can use the DOMDocument class to load the webpage's HTML...

Showing 26 to 30 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.