Extension talk:VipsScaler
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Where or how is it used on WMF?
... and: What is the development perspective? Thanks in advance, G.Hagedorn (talk) 08:09, 24 October 2012 (UTC)
Unable to get this plugin to work on Ubuntu 12.04.3LTS
I've installed the latest VIPS from git and added the following to /etc/bash.bashrc so that's loaded whenever a bash shell is opened
export VIPSHOME=/usr/local export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VIPSHOME/lib export PATH=$PATH:$VIPSHOME/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$VIPSHOME/lib/pkgconfig export MANPATH=$MANPATH:$VIPSHOME/man export PYTHONPATH=$VIPSHOME/lib/python2.7/site-packages
Having done this I can execute
/bin/bash '/my-site-file-location/includes/limit.sh' 'IM_CONCURRENCY='\1'\ '\/usr/local/bin/vips'\ '\shrink'\ '\/my-site-file-location/images/Beagle-hack.jpg'\ '\/tmp/vips_67693d1c5204-1.v'\ '\6.248779535247021677e+0'\ '\6.248372819578234427e+0'\ 2>&1' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'\; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=409600; MW_WALL_CLOCK_LIMIT=180'
without problems as the www-data user. However, it doesn't work from the wiki itself. PHP Safe mode is off, any ideas as to what the problem is?
wfShellExec: /bin/bash '/my-site-file-location/includes/limit.sh' 'IM_CONCURRENCY='\1'\ '\/usr/local/bin/vips'\ '\shrink'\ '\/my-site-file-location/images/Beagle-hack.jpg'\ '\/tmp/vips_67693d1c5204-1.v'\ '\6.248779535247021677e+0'\ '\6.248372819578234427e+0'\ 2>&1' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'\; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=409600; MW_WALL_CLOCK_LIMIT=180' [exec] Possibly missing executable file: /bin/bash '/my-site-file-location/includes/limit.sh' 'IM_CONCURRENCY='\1'\ '\/usr/local/bin/vips'\ '\shrink'\ '\/my-site-file-location/images/Beagle-hack.jpg'\ '\/tmp/vips_67693d1c5204-1.v'\ '\6.248779535247021677e+0'\ '\6.248372819578234427e+0'\ 2>&1' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'\; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=409600; MW_WALL_CLOCK_LIMIT=180' VipsScaler::doTransform: vips command failed! Pjb304 (talk) 13:23, 19 January 2014 (UTC)
Image and thumb limits
This extension appears to ignore $wgThumbLimits and $wgImageLimits. There is no issue here, but it should probably be documented.
Regarding $wgThumbLimits, four thumbs are generated according to the $wgVipsOptions configuration settings.
Regarding $wgImageLimits, only one thumb link and the link to the full-size image are shown. [[kgh]] (talk) 08:43, 2 November 2024 (UTC)