<br><div class="gmail_quote">On Sat, Jun 30, 2012 at 4:08 PM, Alex Marin <span dir="ltr"><<a href="mailto:alex.ukf@gmail.com" target="_blank">alex.ukf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sat, Jun 30, 2012 at 9:50 AM, Chanaka Dharmarathna <span dir="ltr"><<a href="mailto:pe.chanaka.ck@gmail.com" target="_blank">pe.chanaka.ck@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Alex,<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
> mimetype = Image_JPEG<br>
> transformation = Image_JPEG_Inline.class.php
<br>
</div></blockquote><br></div></div>I have set the mime type and browser transformation in above format in order to display images.<br>Images are shown without an issue.<br></blockquote><div><br></div></div><div>That's good, because it's not working for me with PHP 5.4.4.</div>
<div class="im">
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But I'm getting following warning with the mime types Image_JPEG and Image_PNG.<br>
<br>Warning in ./libraries/DisplayResults.class.php#4582<br>strpos() expects parameter 1 to be string, object given<br></blockquote><div><br></div></div><div>I don't get that warning, but it is indeed a problem. I fixed it here [1].</div>
<div>Please tell me if you get some other warning, because I don't know</div><div>why I can't see it. And also, when do you get this (f.e. when browsing</div><div>a table with the Image_JPEG transformation)?</div>
<div><br></div><div>Instead, I get some other warning:<span style="background-color:rgb(255,192,203);font-family:sans-serif;font-size:13px"> </span><span style="background-color:rgb(255,192,203);font-family:sans-serif;font-size:13px">in ./libraries/common.inc.php#275</span></div>
<div><span style="font-family:sans-serif;font-size:13px;background-color:rgb(255,192,203)">date_default_timezone_get()</span><span style="background-color:rgb(255,192,203);font-family:sans-serif;font-size:13px">: It is not safe to rely on the system's</span></div>
<div><span style="background-color:rgb(255,192,203);font-family:sans-serif;font-size:13px">timezone settings. </span><span style="background-color:rgb(255,192,203);font-family:sans-serif;font-size:13px">[..]</span></div>
<div class="im"><div>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Should I do any other configuration in addition to reset the mime types and browser transformations as Marc mentioned ?</blockquote>
<div><br></div></div><div>The thing is that the old transformations (<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">image_jpeg__inline.inc.php)</span></div><div>are not compatible yet with the new transformations plugins. So no</div>
<div>configuration is needed, I will first have to make this backwards</div><div>compatible. </div><div><br></div><div>[1] <a href="https://github.com/phpmyadmin/phpmyadmin/pull/76/files" target="_blank">https://github.com/phpmyadmin/phpmyadmin/pull/76/files</a></div>
<div><br></div><br clear="all"></div></blockquote></div><br>Hi Alex,<br><br>Now that problem is okay.<br>The fix has merged recently.<br><br>Regards !<br>-- <br>____________________________________<br><br>Chanaka Indrajith<br>
Bsc.Computer Engineering Undergraduate<br>Faculty of Engineering<br>University of Peradeniya<br>Sri Lanka<br>____________________________________<br><br>