[Act] photo bug...
Sébastien Aperghis-Tramoni
sebastien at aperghis.net
Tue Jul 18 21:27:17 CEST 2017
Hello Detlev,
Detlev Hauschildt wrote:
> Hello ACT team,
>
> I have three ACT issues which it would be nice to get resolved. I'll
> put them in separate posts, so you can deal with them separately.
>
> The first is about the user photo. If you try to upload a pic on any
> conference website (for example
> http://act.perlconference.org/tpc-2017-amsterdam/photo), it will
> always come back with the message:
>
> "Image couldn't be read. Please upload your picture in one of the
> following formats:jpeg, png"
>
> Even if the picture is .jpg or .png.
>
> I investigated it on a local installation I have, and there the
> problem was caused by the fact that the two modules Imager::File::PNG
> and Imager::File::JPEG weren't installed. After installing them it
> worked as expected. If they are not installed, $img->read(fh => $fh)
> on line 23 of Act::Handler::User::Photo comes back false. (No idea
> whether it's the same problem on the central server, but it just
> might be...)
>
> Btw, on my machine the modules would only install after: apt-get
> install libpng libjpeg-dev
>
> Thanks for looking into it!
Thanks for the investigation. You were right, these modules were
missing. I did not know they were prerequisites.
On FreeBSD, the corresponding ports are graphics/png and graphics/jpeg
I was able to change my picture so I guess it works.
--
Sébastien Aperghis-Tramoni
Close the world, txEn eht nepO.
More information about the Act
mailing list