How to show images in BLOB?

Help
Ghesio
2014-08-28
2014-09-16
  • Ghesio
    Ghesio
    2014-08-28

    Hello, I have a problem with BLOB type. Adminer website says that images in blob field are displayed, but I can't get this to work. How can I solve this?

    Image is a JPG and data type is BLOB, also tried with MEDIUMBLOB and LONGBLOB, but none of them worked. Is there a configuration required?

    EDIT: Tried with adminer and adminer editor 4.1.0, image attached

     
    Last edit: Ghesio 2014-08-28
    Attachments
  • Jakub Vrána
    Jakub Vrána
    2014-08-28

    This feature is enabled only in Adminer Editor. JPG, GIF and PNG image types are supported.

     
  • Ghesio
    Ghesio
    2014-08-29

    Thanks for the answer, but even in adminer editor can't get this to work... I have to configure something?

     
  • Jakub Vrána
    Jakub Vrána
    2014-09-13

    It doesn't need any configuration. What do you see?

     
  • Ghesio
    Ghesio
    2014-09-15

    I solved in a "bad" way... It was showing an empty cell, due to the utf8 charset I'm using. Remove the !is_utf8(....) condition from the if in the function for selecting vars and work like a charm! Thanks for the answers!

     
  • Jakub Vrána
    Jakub Vrána
    2014-09-16

    Oh yes, I've fixed this in Git.