Databases Reference
In-Depth Information
text/plain: imagelink
This transformation is similar to the previous one, except that we place in the cell
a URL that points to an image. This image will be fetched and displayed in the cell
along with the link text. Although the image here is stored on the local server, it
could be anywhere on the Web.
The first available option is the common URL prefix (like the one for text/plain: link ),
the second option is the width of the image in pixels (default: 100), and the third is
the height (default: 50).
If the text for the link is too long, the transformation does not occur. In this case,
we can click the Full Texts icon to reveal the complete link. Then we'll see the
image altogether.
Because the link may refer to any browser-supported image type, which is not
necessarily covered by phpMyAdmin's thumbnail generation mechanism, the image
is just resized according to the options. To see the original image, we can click
the link.
Preserving the Original Formatting
Normally, when displaying text, phpMyAdmin does some escaping of special
characters. For example, if we enter This book is <b>good</b> in the description
field for one book, we would normally see This book is <b>good</b> when
browsing the table. However, if we use the transformation text/plain: formatted for
this field, we get the following while browsing:
 
Search WWH ::




Custom Search