Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The way you should approach this is to temporarily disregard the picture part of your need. We will return to it momentarily. Develop a custom page template to output the data in the desired format. A few template tags getting user meta is probably most of the PHP code, the rest is to use CSS to locate and style the output just the way you want it.

    Finally, once the output is all nicely formatted, add another CSS rule to make your picture the background for your page. The problem remains that the printer default from browsers is to not print the background. I’m not sure if this can be overridden with javascript, I think not.

    Another related possibility is to absolute position everything, and have the image be a page element instead of background. Set the image’s z-index to be behind everything else and it will appear like a background but print as a page element.

Viewing 1 replies (of 1 total)
  • The topic ‘display Mysql data on a picture’ is closed to new replies.