Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Unable to resize images in browser, posted by Matthew Deller on Tue Feb 18 21:32:27 2014 
    icon2.gif   Re: Unable to resize images in browser, posted by Stefan Ritt on Fri Feb 21 13:09:48 2014 
       icon2.gif   Re: Unable to resize images in browser, posted by Matt Deller on Thu Jun 19 09:35:20 2014 
Message ID: 67689     Entry time: Thu Jun 19 09:35:20 2014     In reply to: 67666
Icon: Reply  Author: Matt Deller  Author Email: dellzoid@hotmail.com 
Category: Question  OS: Linux  ELOG Version: 2.9.2 
Subject: Re: Unable to resize images in browser 

Stefan Ritt wrote:

Matthew Deller wrote:
I am unable to resize/ manipulate images in browser. Image Magick detected Version: ImageMagick 6.6.9-7 2012-08-17.

Output when running elog with verbose option shows buffer overflow when resize attempted:
[[Going to execute: /bin/sh -c "identify -format '%wx%h %c' '/home/elog/elog-2.9.2/logbooks/HardwareLog/140218_120423_2014-02-18_remod_(extended_II).png.png'" > /tmp/elog-shell 2>&1
Falling back to default group "elog"
Falling back to default user "elog"
*** buffer overflow detected ***: elogd terminated

Any ideas how to fix this? I'm not sure if this is a problem with the elog / Ubuntu / Image Magick?


What happens if you execute the command manually, like

$ identify -format '%wx%h %c' '/home/elog/elog-2.9.2/logbooks/HardwareLog/140218_120423_2014-02-18_remod_(extended_II).png.png

The "identify" command just checks the size in pixels of your image and expects something like 800x600. Let me know if this command returns something completely different.

/Stefan


Sorry for very late reply. I recently rebuilt our server. Elog 2-9-2, new machine, new OS (Ubuntu 14.04), new version of ImageMagick (6.7.7-10), but I'm having the same unresolved problem. identify -format from the command line returns 645x860 (as it should). Any ideas?

-Matt
ELOG V3.1.5-fe60aaf