No Thumbnail even with ImageMagick and FFMpeg?

2,002 views
Skip to first unread message

Thomas Chow

unread,
May 7, 2012, 6:48:46 AM5/7/12
to ResourceSpace
I just installed all the things according to the instruction and
started to upload the stuffs into the Resource Space,
but I found the thumbnail do not shown as the demo.

I have gone through the previous post and did a installation check, it
shows the following:

I guess it means ImageMagick and FFMpeg have been installed? But why
still the thumbnail can not be shown?

PHP version

5.3.12 config:C:\php\php.ini

OK



MySQL version

5.5.23 (client-encoding: latin1)

OK



GD version

bundled (2.0.34 compatible)

OK



PHP.INI value for 'memory_limit'

2000M

OK



PHP.INI value for 'post_max_size'

1000M

OK



PHP.INI value for 'upload_max_filesize'

1000M

OK



Write access to C:\inetpub\wwwroot\resourcespace\include/../filestore

OK



Blocked browsing of 'filestore' directory

OK



ImageMagick

Version: ImageMagick 6.7.6-8 2012-04-22 Q16 http://www.imagemagick.org

OK



FFmpeg

ffmpeg version N-40301-gc1fe2db

OK



Ghostscript

OK



EXIF extension

OK



Exiftool

OK



Last scheduled task execution (days)

Never

WARNING
Relevance matching will not be effective and periodic e-mail reports
will not be sent. Ensure batch/cron.php is executed at least once
daily via a cron job or similar.

Allison Stec

unread,
Jun 20, 2012, 10:31:09 AM6/20/12
to resour...@googlegroups.com
i would check the image first to see if it's locked or the system only has read access.

~Allison

On Mon, Jun 18, 2012 at 11:26 AM, Peter Tinsley <pho...@talktalk.net> wrote:
I've got what seems to be the same problem.  I've installed on Windows 7 and the system check comes up all OK, but no previews generated and no exif data gathered.  In the metadata report I get the following:
GroupExiftool TagEmbedded ValueMetadata write will be attempted.

exiftoolexiftoolversion 8.92

exiftoolerror Error opening file

filefilename (w)4_0339887cd49c03a.jpg


I don't know if it means RS can't open exiftool or exiftool can't open the image, but it's not working.  Exiftool itself is working fine. 

Any pointers as to where I'm going wrong would be greatly apreciated.

Peter

--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To view this discussion on the web visit https://groups.google.com/d/msg/resourcespace/-/5eYZHf76psUJ.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.

Peter Tinsley

unread,
Jun 21, 2012, 4:07:44 AM6/21/12
to resour...@googlegroups.com
Thanks, Alison  - I'm pretty sure that's not the problem.  I can open the image and edit it in other programs


On Wednesday, June 20, 2012 3:31:09 PM UTC+1, Allison Stec wrote:
i would check the image first to see if it's locked or the system only has read access.

~Allison


To unsubscribe from this group, send email to resourcespace+unsubscribe@googlegroups.com.
Message has been deleted

Stefan Wild

unread,
Jul 12, 2012, 6:53:27 PM7/12/12
to resour...@googlegroups.com
Hey everyone,

a good point to start diagnosing is the error log of your webserver (e.g., IIS or apache). The output of ImageMagick, ffmpeg, exiftool and other external software usually ends up there. Also, you can turn on debug logging with $debug_log=true; in the config.php – an extensive log of what happens will be written to the file filestore/tmp/debug.txt (remember to turn the logging off, again).

If you can't figure it out from there, post the error messages from the logs here and people (with more experience hosting ResourceSpace under Windows) might be able to help.

Regards,
Stefan

--
ResourceSpace hosting
Message has been deleted

Stefan Wild

unread,
Jul 12, 2012, 9:15:37 PM7/12/12
to resour...@googlegroups.com
Can you try the following command in the command prompt?
convert C:\inetpub\wwwroot\resourcespace\filestore\3\2_f93f300db8c2c39\32_d1b70d6f4ebd136.jpg -size 200x200 test.jpg
What is the output of that?
Message has been deleted

Stefan Wild

unread,
Jul 13, 2012, 5:57:36 PM7/13/12
to resour...@googlegroups.com
This is for everyone: Since I just found a problem with that on some of my installations – on the client side, do you use Firefox on Windows and the Flash Uploader in ResourceSpace? Have you tried other browsers?
Message has been deleted
Message has been deleted

Peter Tinsley

unread,
Jul 16, 2012, 8:37:49 AM7/16/12
to resour...@googlegroups.com
Yes - I am using Firefox on windows but have tried IE with same results.  Also tried Flash, Java and single file uploader - all with same results.  ExifTool and ImageMagick are both working on their own - I tried the command from your previous post - works fine.

I'm at the point of giving up on windows

Stefan Wild

unread,
Jul 31, 2012, 1:58:42 PM7/31/12
to resour...@googlegroups.com
A recent change has fixed the problems I had with Firefox on Windows and the Flash Uploader:

If your problems occur in every browser (and uploader), this fix will not help, though.

Timur M

unread,
Sep 23, 2013, 11:52:26 AM9/23/13
to resour...@googlegroups.com
Same issue...

preview creation stops in function create_previews_using_im on preg_match:
# Get image's dimensions.
$identcommand = $identify_fullpath . ' -format %wx%h '. escapeshellarg($prefix . $file) .'[0]';
$identoutput=run_command($identcommand);
debug("yep1");
preg_match('/^([0-9]+)x([0-9]+)$/ims',$identoutput,$smatches);   <<<<< this will never return
debug("yep2");
if ((@list(,$sw,$sh) = $smatches)===false) { return false; }

server-nb htdocs # tail filestore/tmp/debug.txt
2013-09-23 15:43:11 File source is /var/www/my.hostname/htdocs/filestore/3/6_df4e1e794f49aa2/36_d5bf735c84b9865.jpg
2013-09-23 15:43:11 create_previews_using_im(ref=36,thumbonly=,extension=jpg,previewonly=,previewbased=,alternative=-1)
2013-09-23 15:43:11 /usr/bin
2013-09-23 15:43:11 CLI command: '/usr/bin/identify' -format %wx%h '/var/www/my.hostname/htdocs/filestore/3/6_df4e1e794f49aa2/36_d5bf735c84b9865.jpg'[0]
2013-09-23 15:43:11 CLI output: 4592x2576
2013-09-23 15:43:11 CLI errors:
2013-09-23 15:43:11 yep1

Selena Chau

unread,
Oct 16, 2013, 12:51:35 AM10/16/13
to resour...@googlegroups.com
Hi Oriol, I am just getting started with ResourceSpace and am looking up possible solutions for my lack of thumbnails. Ours is installed on Windows 2008 R2, but what do you mean by "once uploaded I force the preview image recreation and it creates a thumbnail. "

How do you "force" it? Thanks.

On Thursday, July 26, 2012 3:28:12 AM UTC-7, Oriol . wrote:

Hello all,

 

I’ve have the same issues with thumbnail creation.  My configuration is:

 

Win 7 64-bits Enterprise

ResourceSpace  Version 4.5.3428, 12 June 2012

PHP version       5.3.2  config: C:\php\php.ini

MySQL version 5.1.63-community  (client-encoding: latin1)

GD version         bundled (2.0.34 compatible)

PHP.INI value for 'memory_limit'            1000M

PHP.INI value for 'post_max_size'          1000M 

PHP.INI value for 'upload_max_filesize' 1000M

ImageMagick    Version: ImageMagick 6.7.8-5 2012-07-18 Q16

FFmpeg               ffmpeg version N-42704-g85761ef

Ghostscript        GPL Ghostscript 9.05 (2012-02-08)         

EXIF extension

ExifTool               8.40*    

 

*I’ve tried with several versions of Exiftool, 8.95,8.77,8.40. Without any success.

 

No thumbnail is created during upload, but if I change filestore folder permissions of IIS_IUSR to Full Control, once uploaded I force the preview image recreation and it creates a thumbnail. However, the image created as a preview looks wrong ( different colors, contrast, etc.).

Any ideas on this?

 

Thanks!


El dilluns 16 de juliol de 2012 14:37:49 UTC+2, Peter Tinsley va escriure:
Reply all
Reply to author
Forward
0 new messages