Recherche avancée

Médias (91)

Autres articles (83)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (13375)

  • Cannot found yasm while i have installed it

    8 juin 2012, par user1201399

    I got a strange problem. I tried to install x264. When run sudo ./configure —enable-shared,
    it gave :

    Found no assembler
    Minimum version is yasm-0.7.0
    If you really want to compile without asm, configure with —disable-asm.

    But I already installed yasm-0.7.0 ,to prove that ,i run yasm —version,it gave :

    *yasm 0.7.0.2066
    Compiled on May 8 2012.
    Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
    Run yasm —license for licensing overview and summary.
    *

    I install yasm to /usr/local/yasm,
    Why can it not find yasm ?

  • Seam carving

    9 juin 2010, par Mikko Koppanen — Imagick, PHP stuff

    Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. “Add support for liquid rescaling”. I rushed to check the MagickWand API docs and there it was : MagickLiquidRescaleImage ! After about ten minutes of hacking the Imagick support was done. Needless to say ; I was excited :)

    For those who don’t know what seam carving is check the demo here. More detailed information about the algorithm can be found here : “Seam Carving for Content-Aware Image Resizing” by Shai Avidan and Ariel Shamir

    To use this functionality you need to install at least ImageMagick 6.3.8-2 and liblqr. Remember to pass –with-lqr to ImageMagick configuration line. You can get liblqr here : http://liblqr.wikidot.com/. The Imagick side of the functionality should appear in the CVS today if everything goes as planned.

    Here is a really simple example just to illustrate the results of the operation. The parameters might be far from optimal (didn’t do much testing yet). The original dimensions of image are 500×375 and the resulting size is 500×200.

    Update : the functionality is pending until license issues are solved.

    1. < ?php
    2.  
    3. /* Create new object */
    4. $im = new Imagick( ’test.jpg’ ) ;
    5.  
    6. /* Scale down */
    7. $im->liquidRescaleImage( 500, 200, 3, 25 ) ;
    8.  
    9. /* Display */
    10. header( ’Content-Type : image/jpg’ ) ;
    11. echo $im ;
    12.  
    13.  ?>

    The original image by flickr/jennconspiracy

    result

    And the result :

    result

    Update. On kenrick’s request here is an image which is scaled down to 300×300

    result2

  • Cannot find yasm even though I have installed it

    20 juin 2016, par zhen lee

    I got a strange problem. I tried to install x264. When run sudo ./configure —enable-shared,
    it gave :

    Found no assembler
    Minimum version is yasm-0.7.0
    If you really want to compile without asm, configure with —disable-asm.

    But I already installed yasm-0.7.0 ,to prove that ,i run yasm —version,it gave :

    *yasm 0.7.0.2066
    Compiled on May 8 2012.
    Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
    Run yasm —license for licensing overview and summary.
    *

    I install yasm to /usr/local/yasm,
    Why can it not find yasm ?