[Phpmyadmin-devel] Inline JPEG transformation fails

Marc Delisle marc at infomarc.info
Fri Jun 29 17:49:39 CEST 2012


Le 2012-06-29 11:42, Marc Delisle a écrit :
> 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

I am testing with PHP 5.3.13.

For a reason I have yet to find, the inline JPEG transformation does not
work when testing with PHP 5.4.4, and I see [BLOB - 25.9 KiB] instead of
the inline image. Clicking on the link displays the full-size image,
however.

-- 
Marc Delisle
http://infomarc.info






More information about the Developers mailing list