begin process at 2012 05 27 19:13:09
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Graphique

 > MANIPULATION DES DONNÉES IPTC

MANIPULATION DES DONNÉES IPTC


 Information sur la source

Note :
8,5 / 10 - par 2 personnes
8,50 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :Graphique Classé sous :IPTC, image, tag Niveau :Initié Date de création :20/08/2010 Vu :2 407

Auteur : shevabam

Ecrire un message privé
Commentaire sur cette source (2)
Ajouter un commentaire et/ou une note

 Description

Voici une class qui permet de gérer les données IPTC d'une image.
On peut définir la liste des tags à utiliser, les récupérer via l'image, en ajouter / modifier.

Plusieurs exemples sont en fin de source.

Source

  • <?php
  • /**
  • * Manipulate IPTC tags
  • *
  • * @date 08-20-2010
  • * @author ShevAbam
  • */
  • class IptcManager
  • {
  • public $file = '';
  • public $listTags = array();
  • /**
  • * Constructor
  • */
  • public function __construct()
  • {
  • $this->listTags();
  • }
  • /**
  • * Sets the image file
  • *
  • * @param string $filename Path of the image file
  • * @return object
  • */
  • public function setFile($filename)
  • {
  • if (!empty($filename) && is_file($filename))
  • $this->file = $filename;
  • return $this;
  • }
  • /**
  • * Sets the IPTC tags
  • *
  • * @return void
  • */
  • public function listTags()
  • {
  • // Most common tags. You can redefine this method by extending the class
  • $getAll = array(
  • array('id' => 1, 'name' => 'Object type', 'tag' => '2#003'),
  • array('id' => 2, 'name' => 'Object attribute', 'tag' => '2#004'),
  • array('id' => 3, 'name' => 'Title', 'tag' => '2#005'),
  • array('id' => 4, 'name' => 'Edit status', 'tag' => '2#007'),
  • array('id' => 5, 'name' => 'Editorial update', 'tag' => '2#008'),
  • array('id' => 6, 'name' => 'Urgency', 'tag' => '2#010'),
  • array('id' => 7, 'name' => 'Subject reference', 'tag' => '2#012'),
  • array('id' => 8, 'name' => 'Category', 'tag' => '2#015'),
  • array('id' => 9, 'name' => 'Supplemental categories', 'tag' => '2#020'),
  • array('id' => 10, 'name' => 'Fixture identifier', 'tag' => '2#022'),
  • array('id' => 11, 'name' => 'Keywords', 'tag' => '2#025'),
  • array('id' => 12, 'name' => 'Location code', 'tag' => '2#026'),
  • array('id' => 13, 'name' => 'Location name', 'tag' => '2#027'),
  • array('id' => 14, 'name' => 'Release date', 'tag' => '2#030'),
  • array('id' => 15, 'name' => 'Release time', 'tag' => '2#035'),
  • array('id' => 16, 'name' => 'Expiration date', 'tag' => '2#037'),
  • array('id' => 17, 'name' => 'Expiration time', 'tag' => '2#038'),
  • array('id' => 18, 'name' => 'Instructions', 'tag' => '2#040'),
  • array('id' => 19, 'name' => 'Action advised', 'tag' => '2#042'),
  • array('id' => 20, 'name' => 'Reference service', 'tag' => '2#045'),
  • array('id' => 21, 'name' => 'Reference date', 'tag' => '2#047'),
  • array('id' => 22, 'name' => 'Reference number', 'tag' => '2#050'),
  • array('id' => 23, 'name' => 'Date created', 'tag' => '2#055'),
  • array('id' => 24, 'name' => 'Time created', 'tag' => '2#060'),
  • array('id' => 25, 'name' => 'Digital creation date', 'tag' => '2#062'),
  • array('id' => 26, 'name' => 'Digital creation time', 'tag' => '2#063'),
  • array('id' => 27, 'name' => 'Originating program', 'tag' => '2#065'),
  • array('id' => 28, 'name' => 'Program version', 'tag' => '2#070'),
  • array('id' => 29, 'name' => 'Object cycle', 'tag' => '2#075'),
  • array('id' => 30, 'name' => 'Author', 'tag' => '2#080'),
  • array('id' => 31, 'name' => 'AuthorsPosition', 'tag' => '2#085'),
  • array('id' => 32, 'name' => 'City', 'tag' => '2#090'),
  • array('id' => 33, 'name' => 'Sublocation', 'tag' => '2#092'),
  • array('id' => 34, 'name' => 'State/Province', 'tag' => '2#095'),
  • array('id' => 35, 'name' => 'Country code', 'tag' => '2#100'),
  • array('id' => 36, 'name' => 'Country', 'tag' => '2#101'),
  • array('id' => 37, 'name' => 'Transmission reference', 'tag' => '2#103'),
  • array('id' => 38, 'name' => 'Headline', 'tag' => '2#105'),
  • array('id' => 39, 'name' => 'Credit', 'tag' => '2#110'),
  • array('id' => 40, 'name' => 'Source', 'tag' => '2#115'),
  • array('id' => 41, 'name' => 'Copyright notice', 'tag' => '2#116'),
  • array('id' => 42, 'name' => 'Contact Information', 'tag' => '2#118'),
  • array('id' => 43, 'name' => 'Description', 'tag' => '2#120'),
  • array('id' => 44, 'name' => 'Description writer', 'tag' => '2#122'),
  • array('id' => 45, 'name' => 'Image type', 'tag' => '2#130'),
  • array('id' => 46, 'name' => 'Image orientation', 'tag' => '2#131'),
  • array('id' => 47, 'name' => 'Language identifier', 'tag' => '2#135'),
  • array('id' => 48, 'name' => 'AudioType', 'tag' => '2#150'),
  • array('id' => 49, 'name' => 'AUdio sampling rate', 'tag' => '2#151'),
  • array('id' => 50, 'name' => 'Audio sampling resolution', 'tag' => '2#152'),
  • array('id' => 51, 'name' => 'Audio duration', 'tag' => '2#153'),
  • array('id' => 52, 'name' => 'Audio outcue', 'tag' => '2#154'),
  • array('id' => 53, 'name' => 'Job ID', 'tag' => '2#184'),
  • array('id' => 54, 'name' => 'Master document ID', 'tag' => '2#185'),
  • array('id' => 55, 'name' => 'Short document ID', 'tag' => '2#186'),
  • array('id' => 56, 'name' => 'Unique document ID', 'tag' => '2#187'),
  • array('id' => 57, 'name' => 'Owner ID', 'tag' => '2#188'),
  • array('id' => 58, 'name' => 'Object preview file format', 'tag' => '2#200'),
  • array('id' => 59, 'name' => 'Object preview file version', 'tag' => '2#201'),
  • array('id' => 60, 'name' => 'Object preview data', 'tag' => '2#202'),
  • array('id' => 61, 'name' => 'Prefs', 'tag' => '2#221'),
  • array('id' => 62, 'name' => 'Classify state', 'tag' => '2#225'),
  • array('id' => 63, 'name' => 'Similarity index', 'tag' => '2#228'),
  • array('id' => 64, 'name' => 'Document notes', 'tag' => '2#230'),
  • array('id' => 65, 'name' => 'Document history', 'tag' => '2#231'),
  • array('id' => 66, 'name' => 'Exif camera info', 'tag' => '2#232'),
  • array('id' => 67, 'name' => 'Catalog sets', 'tag' => '2#255')
  • );
  • if (count($getAll) > 0)
  • {
  • foreach ($getAll as $tag)
  • $this->listTags[$tag['id']] = $tag['tag'];
  • }
  • }
  • /**
  • * Returns the content of an IPTC tag. If $tag is not specified, returns all tags.
  • *
  • * @param string $tag Name of the IPTC tag presents in $this->listTags
  • * @return string
  • */
  • public function get($tag = null)
  • {
  • // If you specify a particular tag, it returns information for this tag
  • if (!is_null($tag) && !empty($tag) && in_array($tag, $this->listTags))
  • {
  • $size = getimagesize($this->file, $info);
  • if (isset($info['APP13'][$tag]))
  • {
  • $iptc = iptcparse($info['APP13']);
  • return $iptc[$tag][0];
  • }
  • }
  • else
  • {
  • // Otherwise, it returns the complete info
  • $size = getimagesize($this->file, $info);
  • if (isset($info['APP13']))
  • {
  • return iptcparse($info['APP13']);
  • }
  • }
  • }
  • /**
  • * Add an IPTC tag
  • *
  • * @param string $tag Name of the IPTC tag presents in $this->listTags
  • * @param string $value IPTC tag value
  • * @param bool $save If save the image with the settings or not
  • * @return mixed
  • */
  • public function add($tag, $value, $save = true)
  • {
  • // If tag is valid
  • if (empty($tag) || empty($value) || !in_array($tag, $this->listTags))
  • return false;
  • $tag = substr($tag, 2);
  • $datas = $this->_transform_iptc($tag, $value);
  • if ($save == true)
  • $this->save($datas);
  • else
  • return $datas;
  • }
  • /**
  • * Add severals IPTC tags
  • *
  • * @param array $array List of IPTC tags and values
  • * @param bool $save If save the image with the settings or not
  • * @return mixed
  • */
  • public function addMultiple($array, $save = true)
  • {
  • // If tag is valid
  • if (!is_array($array) || count($array) == 0)
  • return false;
  • $iptcdata = null;
  • foreach ($array as $tag => $string)
  • {
  • if (in_array($tag, $this->listTags))
  • {
  • $tag = substr($tag, 2);
  • $iptcdata .= $this->_transform_iptc($tag, $string);
  • }
  • }
  • if ($save == true)
  • $this->save($iptcdata);
  • else
  • return $iptcdata;
  • }
  • /**
  • * Save IPTC into image
  • *
  • * @param string $datas IPTC datas
  • * @param string $newImageName New image name
  • * @return void
  • */
  • public function save($datas, $newImageName = '')
  • {
  • if (!empty($newImageName))
  • $imageName = $newImageName;
  • else
  • $imageName = $this->file;
  • // Writing datas in the image
  • $data_image = iptcembed($datas, $this->file);
  • $fp = fopen($imageName, "wb");
  • fwrite($fp, $data_image);
  • fclose($fp);
  • }
  • /**
  • * Format the new IPTC text
  • *
  • * @param string $data IPTC datas
  • * @param string $value IPTC tag value
  • * @return string
  • */
  • private function _transform_iptc($data, $value)
  • {
  • $length = strlen($value);
  • $retval = chr(0x1C).chr(2).chr($data);
  • if ($length < 0x8000)
  • {
  • $retval .= chr($length >> 8).chr($length& 0xFF);
  • }
  • else
  • {
  • $retval .= chr(0x80).chr(0x04).
  • chr(($length >> 24)& 0xFF).
  • chr(($length >> 16)& 0xFF).
  • chr(($length >> 8)& 0xFF).
  • chr($length& 0xFF);
  • }
  • return $retval.$value;
  • }
  • }
  • // -- Examples
  • $oIptc = new IptcManager();
  • // Returns all IPTC tags
  • $oIptc->setFile('image_test.jpg')->get();
  • // Returns Title tag
  • $oIptc->setFile('image_test.jpg')->get('2#005');
  • // Add a tag
  • $oIptc->setFile('image_test.jpg')->add('2#025', 'My keywords');
  • $oIptc->get();
  • // Add severals IPTC tags
  • $array = array(
  • '2#080' => 'ShevAbam',
  • '2#101' => 'France'
  • );
  • $oIptc->setFile('image_test.jpg')->AddMultiple($array);
  • $oIptc->get();
  • ?>
<?php
/**
 * Manipulate IPTC tags
 * 
 * @date 08-20-2010
 * @author ShevAbam
 */
class IptcManager
{
    public $file     = '';
    public $listTags = array();
    
    
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->listTags();
    }
    
    
    /**
     * Sets the image file
     * 
     * @param  string  $filename  Path of the image file
     * @return object
     */
    public function setFile($filename)
    {
        if (!empty($filename) && is_file($filename))
            $this->file = $filename;
        
        return $this;
    }
    
    /**
     * Sets the IPTC tags
     * 
     * @return void
     */
    public function listTags()
    {
        // Most common tags. You can redefine this method by extending the class
        $getAll = array(
            array('id' => 1,   'name' => 'Object type',                  'tag' => '2#003'),
            array('id' => 2,   'name' => 'Object attribute',             'tag' => '2#004'),
            array('id' => 3,   'name' => 'Title',                        'tag' => '2#005'),
            array('id' => 4,   'name' => 'Edit status',                  'tag' => '2#007'),
            array('id' => 5,   'name' => 'Editorial update',             'tag' => '2#008'),
            array('id' => 6,   'name' => 'Urgency',                      'tag' => '2#010'),
            array('id' => 7,   'name' => 'Subject reference',            'tag' => '2#012'),
            array('id' => 8,   'name' => 'Category',                     'tag' => '2#015'),
            array('id' => 9,   'name' => 'Supplemental categories',      'tag' => '2#020'),
            array('id' => 10,  'name' => 'Fixture identifier',           'tag' => '2#022'),
            array('id' => 11,  'name' => 'Keywords',                     'tag' => '2#025'),
            array('id' => 12,  'name' => 'Location code',                'tag' => '2#026'),
            array('id' => 13,  'name' => 'Location name',                'tag' => '2#027'),
            array('id' => 14,  'name' => 'Release date',                 'tag' => '2#030'),
            array('id' => 15,  'name' => 'Release time',                 'tag' => '2#035'),
            array('id' => 16,  'name' => 'Expiration date',              'tag' => '2#037'),
            array('id' => 17,  'name' => 'Expiration time',              'tag' => '2#038'),
            array('id' => 18,  'name' => 'Instructions',                 'tag' => '2#040'),
            array('id' => 19,  'name' => 'Action advised',               'tag' => '2#042'),
            array('id' => 20,  'name' => 'Reference service',            'tag' => '2#045'),
            array('id' => 21,  'name' => 'Reference date',               'tag' => '2#047'),
            array('id' => 22,  'name' => 'Reference number',             'tag' => '2#050'),
            array('id' => 23,  'name' => 'Date created',                 'tag' => '2#055'),
            array('id' => 24,  'name' => 'Time created',                 'tag' => '2#060'),
            array('id' => 25,  'name' => 'Digital creation date',        'tag' => '2#062'),
            array('id' => 26,  'name' => 'Digital creation time',        'tag' => '2#063'),
            array('id' => 27,  'name' => 'Originating program',          'tag' => '2#065'),
            array('id' => 28,  'name' => 'Program version',              'tag' => '2#070'),
            array('id' => 29,  'name' => 'Object cycle',                 'tag' => '2#075'),
            array('id' => 30,  'name' => 'Author',                       'tag' => '2#080'),
            array('id' => 31,  'name' => 'AuthorsPosition',              'tag' => '2#085'),
            array('id' => 32,  'name' => 'City',                         'tag' => '2#090'),
            array('id' => 33,  'name' => 'Sublocation',                  'tag' => '2#092'),
            array('id' => 34,  'name' => 'State/Province',               'tag' => '2#095'),
            array('id' => 35,  'name' => 'Country code',                 'tag' => '2#100'),
            array('id' => 36,  'name' => 'Country',                      'tag' => '2#101'),
            array('id' => 37,  'name' => 'Transmission reference',       'tag' => '2#103'),
            array('id' => 38,  'name' => 'Headline',                     'tag' => '2#105'),
            array('id' => 39,  'name' => 'Credit',                       'tag' => '2#110'),
            array('id' => 40,  'name' => 'Source',                       'tag' => '2#115'),
            array('id' => 41,  'name' => 'Copyright notice',             'tag' => '2#116'),
            array('id' => 42,  'name' => 'Contact Information',          'tag' => '2#118'),
            array('id' => 43,  'name' => 'Description',                  'tag' => '2#120'),
            array('id' => 44,  'name' => 'Description writer',           'tag' => '2#122'),
            array('id' => 45,  'name' => 'Image type',                   'tag' => '2#130'),
            array('id' => 46,  'name' => 'Image orientation',            'tag' => '2#131'),
            array('id' => 47,  'name' => 'Language identifier',          'tag' => '2#135'),
            array('id' => 48,  'name' => 'AudioType',                    'tag' => '2#150'),
            array('id' => 49,  'name' => 'AUdio sampling rate',          'tag' => '2#151'),
            array('id' => 50,  'name' => 'Audio sampling resolution',    'tag' => '2#152'),
            array('id' => 51,  'name' => 'Audio duration',               'tag' => '2#153'),
            array('id' => 52,  'name' => 'Audio outcue',                 'tag' => '2#154'),
            array('id' => 53,  'name' => 'Job ID',                       'tag' => '2#184'),
            array('id' => 54,  'name' => 'Master document ID',           'tag' => '2#185'),
            array('id' => 55,  'name' => 'Short document ID',            'tag' => '2#186'),
            array('id' => 56,  'name' => 'Unique document ID',           'tag' => '2#187'),
            array('id' => 57,  'name' => 'Owner ID',                     'tag' => '2#188'),
            array('id' => 58,  'name' => 'Object preview file format',   'tag' => '2#200'),
            array('id' => 59,  'name' => 'Object preview file version',  'tag' => '2#201'),
            array('id' => 60,  'name' => 'Object preview data',          'tag' => '2#202'),
            array('id' => 61,  'name' => 'Prefs',                        'tag' => '2#221'),
            array('id' => 62,  'name' => 'Classify state',               'tag' => '2#225'),
            array('id' => 63,  'name' => 'Similarity index',             'tag' => '2#228'),
            array('id' => 64,  'name' => 'Document notes',               'tag' => '2#230'),
            array('id' => 65,  'name' => 'Document history',             'tag' => '2#231'),
            array('id' => 66,  'name' => 'Exif camera info',             'tag' => '2#232'),
            array('id' => 67,  'name' => 'Catalog sets',                 'tag' => '2#255')
        );
        
        if (count($getAll) > 0)
        {
            foreach ($getAll as $tag)
                $this->listTags[$tag['id']] = $tag['tag'];
        }
    }
    
    
    /**
     * Returns the content of an IPTC tag. If $tag is not specified, returns all tags.
     * 
     * @param  string  $tag  Name of the IPTC tag presents in $this->listTags
     * @return string
     */
    public function get($tag = null)
    {
        // If you specify a particular tag, it returns information for this tag
        if (!is_null($tag) && !empty($tag) && in_array($tag, $this->listTags))
        {
            $size = getimagesize($this->file, $info);
            
            if (isset($info['APP13'][$tag]))
            {
                $iptc = iptcparse($info['APP13']);
                return $iptc[$tag][0];
            }
        }
        else
        {
            // Otherwise, it returns the complete info
            $size = getimagesize($this->file, $info);
            
            if (isset($info['APP13']))
            {
                return iptcparse($info['APP13']);
            }
        }
    }
    
    
    /**
     * Add an IPTC tag
     * 
     * @param  string  $tag    Name of the IPTC tag presents in $this->listTags
     * @param  string  $value  IPTC tag value
     * @param  bool    $save   If save the image with the settings or not
     * @return mixed
     */
    public function add($tag, $value, $save = true)
    {
        // If tag is valid
        if (empty($tag) || empty($value) || !in_array($tag, $this->listTags))
            return false;
        
        $tag = substr($tag, 2); 
        
        $datas = $this->_transform_iptc($tag, $value);
        
        if ($save == true)
            $this->save($datas);
        else
            return $datas;
    }
    
    /**
     * Add severals IPTC tags
     * 
     * @param  array  $array  List of IPTC tags and values
     * @param  bool   $save   If save the image with the settings or not
     * @return mixed
     */
    public function addMultiple($array, $save = true)
    {
        // If tag is valid
        if (!is_array($array) || count($array) == 0)
            return false;
        
        $iptcdata = null;
        
        foreach ($array as $tag => $string)
        {
            if (in_array($tag, $this->listTags))
            {
                $tag = substr($tag, 2);
                $iptcdata .= $this->_transform_iptc($tag, $string);
            }
        }
        
        if ($save == true)
            $this->save($iptcdata);
        else
            return $iptcdata;
    }
    
    
    /**
     * Save IPTC into image
     * 
     * @param  string  $datas         IPTC datas     
     * @param  string  $newImageName  New image name
     * @return void
     */
    public function save($datas, $newImageName = '')
    {
        if (!empty($newImageName))
            $imageName = $newImageName;
        else
            $imageName = $this->file;
        
        // Writing datas in the image
        $data_image = iptcembed($datas, $this->file);
        
        $fp = fopen($imageName, "wb");
        
        fwrite($fp, $data_image);
        fclose($fp);
    }
    
    
    
    /**
     * Format the new IPTC text
     * 
     * @param  string  $data   IPTC datas
     * @param  string  $value  IPTC tag value
     * @return string
     */
    private function _transform_iptc($data, $value)
    {
        $length = strlen($value);
        $retval = chr(0x1C).chr(2).chr($data);
        
        if ($length < 0x8000)
        {
            $retval .= chr($length >> 8).chr($length& 0xFF);
        }
        else
        {
            $retval .= chr(0x80).chr(0x04). 
                    chr(($length >> 24)& 0xFF). 
                    chr(($length >> 16)& 0xFF). 
                    chr(($length >> 8)& 0xFF). 
                    chr($length& 0xFF);
        }
        
        return $retval.$value;
    }
}


// -- Examples
$oIptc = new IptcManager();

// Returns all IPTC tags
$oIptc->setFile('image_test.jpg')->get();

// Returns Title tag
$oIptc->setFile('image_test.jpg')->get('2#005');

// Add a tag
$oIptc->setFile('image_test.jpg')->add('2#025', 'My keywords');
$oIptc->get();

// Add severals IPTC tags
$array = array(
    '2#080' => 'ShevAbam',
    '2#101' => 'France'
);
$oIptc->setFile('image_test.jpg')->AddMultiple($array);
$oIptc->get();
?>



 Sources du même auteur

GESTION FTP (CLASSE)
Source avec Zip COMPRESSER (MINIMISER) UN FICHIER CSS

 Sources de la même categorie

Source avec Zip Source avec une capture CAMEMBERT BD par dardelphi
Source avec une capture AMÉLIORATION : CAMEMBERT par asphator
GESTION DE COULEUR par manuche
Source avec Zip NAVIGATOR (+CSSDETECTOR) par xXVoxPopuliXx
COMMENT, AVEC GD, DESSINER UN RECTANGLE TRANSPARENT PLEIN AV... par Rainbow

 Sources en rapport avec celle ci

REDIMENSIONNEMENT D'IMAGE PHP par JStevens
Source avec Zip Source avec une capture GESTIONNAIRE DE NEWS BASIQUE AVEC UPLOAD D'IMAGES par cod57
Source avec Zip Source avec une capture UPLOADEUR DE FICHIERS MULTIPLES V1 par cod57
CLASS GALERIE PHOTO par Xiryl
CRÉER UNE IMAGE À PARTIR DU TEXTE par dilar

Commentaires et avis

Commentaire de bj33 le 23/08/2010 09:32:18 8/10

salut

Même si il manque quelques tests, à mon sens essentiels, et qu'il en existe des plus complètes c'est tout bon, clair, net, prècis. Allez, maintenant les autres blocs ;)

Commentaire de kangun le 20/11/2010 15:26:37 9/10

pas encore totalement tester mais bien pratique en tous cas ;-)
merci beaucoup

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

Récuperation d'un tag IPTC d'une image avec php [ par dikembe ] dikembeBonjour à tous je désirerais récupérer les tags IPTC d'une image jpg à l'aide d'un script php.J'ai trouvé ce script sur le net qui assez ludiqu Image / MySQL / php [ par hazkaal ] Bonjour !Je bosse sur un site et j'ai un probleme au niveau de laffichage d'images...Je m'explique :L'utilisateur upload une image. Cette image est st probleme affichage résultat (resultat une image) [ par tarroukt ] Salut forum,j'ai un probleme qui m'a bloqué, j'ai déniché sur internet un script pour moteur de recherche multi champs, aparament ça ne marche pas , v Uploader une image sur mon serveur [ par mattand ] Salut à tous,je suis en train de travailler avec Unity3D, un outil de devellopement de jeux 3D destiné a devenir des webplayer. Dans le cadre de ce pr Alignement d'une image sur une ligne [ par matthieu3556 ] Bonjour à tous,J'ai besoin de vos lumières.Je voudrais que sur la ligne ci-dessous l'image s'affiche toujours à la même position avec une tabulation p parcourir à un image [ par dadoudjerba ] bjje vous parcourir à un image pour l'inserer dans ma bd , comment je peux la faire avec php?????? djerba qui me donne la force générer une image svg avec php [ par naej56 ] BonjourJe cherche partout et je ne trouve pas la solution a mon problème.le code que je teste est le suivant:&lt;?php    header("image/svg+xml");     images [ par antza ] Bonjours à tous!je débute en php et .... Voila je vais résumé mon problème: J'ai un formulaire d'enregistrement qui contient un champ type file et je CSS MAP et AREA [ par gabs77 ] Bonjour, Je voudrais savoir si on peut combiner du CSS avec les balises AREA ???En fait, j'ai une image PNG avec un fond transparent que j'affiche en probleme affichage image dynamique dans dreamweaver 8 [ par slideyard ] bonjour, je suis débutant et j'essaie  de creer un site e commerce pour une petite librairie avec wamp 5 et dreamweaver 8 ( avec l'aide du livre le ca


Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,686 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales