[Phpmyadmin-devel] Inline JPEG transformation fails

Marc Delisle marc at infomarc.info
Fri Jun 29 17:42:23 CEST 2012


Le 2012-06-29 10:29, Alex Marin a écrit :
> Marc,
> 
> I've git bisected as far as 2010, and I can't seem to find a good commit.
> My pma_column_info table has:
>   mimetype: image_jpeg
>   transformation: image_jpeg__inline.inc.php
> and my local image is /home/alex/Pictures/x.jpeg, which has a good format.
> 
> Could you possibly confirm that this was working before merging my branch?
> Or could anyone provide a good image and commit where this transformation
> worked? Maybe my local configuration is faulty, I'll try an older
> version on some
> other computer.

Alex,

with current upstream master, the transformation works, provided you
have these values:
mimetype = Image_JPEG
transformation = Image_JPEG_Inline.class.php

These values are set if you change the structure of a LONGBLOB column,
choosing appropriate values in the drop-down.

My previous table, which does not work since your commit, is using these
values from pma_column_info:

mimetype = image_jpeg
transformation = image_jpeg__inline.inc.php



-- 
Marc Delisle
http://infomarc.info






More information about the Developers mailing list