[Hamara-devel] wiki has a problem with image thumbnails
akshat
akshat-pg8 at iiitmk.ac.in
Mon Oct 12 16:21:23 BST 2015
at bottom:
On Mon, Oct 12, 2015 at 8:03 PM, Vikas Tara <vik at hamaralinux.org> wrote:
> On 12/10/15 15:31, shirish wrote:
>
>> at bottom :-
>>
>> On Monday 12 October 2015 07:51 PM, Vikas Tara wrote:
>>
>>> I just noticed this when trying to set an image display size on the wiki.
>>>
>>> It throws this error:
>>>
>>> Error creating thumbnail: Invalid thumbnail parameters
>>>
>>> Am looking into it.
>>>
>>>
>> Hi Vikas,
>>
>> The best would be to have imagemagick. If we have that on the server and
>> we put the code which binds it to what we need, we would be able to do lot
>> more with the images now or when we need in the future.
>>
> IM is installed by default in hamara
>
>>
>> I *think* I shared what would be needed for this in the first e-mail I
>> sent.
>>
> OK - will check - I am not finding an error in the webserver log - so am a
> bit unsure what the problem is atm
>
>>
>>
>> If we are able to do some arbitrariness in how big or small we want the
>> images, would be good for us.
>>
> Yes, we should be able to do for example: [[File:grub-screen.png|600px]]
>
> But that gives me the error.
>
> See here:
> https://wiki.hamaralinux.org/wiki/index.php/Lxde_sugam_theme
>
>
> _______________________________________________
> Hamara-devel mailing list
> Hamara-devel at lists.hamaralinux.org
> http://lists.hamaralinux.org/listinfo/hamara-devel
>
Hi,
Seems like just a configuration issue and there is no need of imagemagick
manipulation explicitly. Mostly in wikis there is a size limit of pictures
or files we can upload or display. If we just change the size limits then
it will fix the problem.
In case of mediawiki the parameters which you should be checking must be
$wgMaxImageArea and $wgMaxShellMemory in your configuration files.
https://www.mediawiki.org/wiki/Manual:$wgMaxImageArea
https://www.mediawiki.org/wiki/Manual:$wgMaxShellMemory
--
Akshat Singh
[PG-8 IIITM-Kerala]
Pune
Mob.: +91-8806963718
Webpage: home-akshatsingh.rhcloud.com/aks/
<http://home-akshatsingh.rhcloud.com/aks/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamaralinux.org/pipermail/hamara-devel/attachments/20151012/49d549c1/attachment-0001.html>
More information about the Hamara-devel
mailing list