Mugshot standalone

Soumis par bonvga le 15 octobre, 2007 - 21:54

Voici enfin à la demande générale une version épurée du module mugshot.

Cette version 'ready-to-botch' contient :

  • le script php qui affiche le module mugshot flash (index.php)
  • le script php qui recoit la photo en provenance du module mugshot (mugshot.php)
  • le module mugshot flash et ses sources (mugshot.swf)

Il y a un 'minimum' de documentation dans le code. Je répondrais aux questions si necessaire.

Pour voir une démonstration en ligne de ce script : mugshot standalone.

Fichier attachéTaille
mugshot_standalone.zip73.72 Ko

Posté dans les catégories , , et

6 commentaires pour “Mugshot standalone”

Portrait de Anonyme

Le 18 octobre, 2007 - 13:54
webunder a écrit

Dear sir Thank you very much.. I'm tried so hard to learn your mugshot source code.. (for drupal version) I want it work stand alone for a few day ago.
I'm spend alot of time to understand it,I don't know anything about drupal.
Til yesterday I just finish to make mugshot work standalone without drupal system.
But today I visit your site again..I just found you just finish standalone version last 3day ago.. Good news.... I should visit here last 3day ago.. however Thank you again Smile

But now I have one more question to you..
I want to know how can I take a photo with bigger size..Not only 160x120 pixel?
I need to take at 320x240 pixel.. Where in your code that I have to change it?,Which line? in flash file or php file?
I was try to change it in Swf file from..

_root.capture_width = 160;
_root.capture_height = 120;

to

_root.capture_width = 320;
_root.capture_height = 240;

But it's not work! Yes it's show me 320x240 image size but the real picture is still 160x120 showed in top left of the images. like this..

Press [ Ctrl + A ] to see all the image size(Background image are white maybe same as your background browser.)

I need the320x240 pixel image size with the real captured picture fit size in it.

I'm not sure will you understand me? I'm not know france language and Not good in english language. I'm from Thailand..

Please help me Smile Thank you very much.

Portrait de bonvga

Le 18 octobre, 2007 - 18:52
bonvga a écrit

First of all, thank you for your interest.

I understand your problem, I've tried a long time to expand the image size but without success.

I know the problem is around the Bitmapdata object in the flash code but I didn't found a solution.

I think there is a resolution limitation with Bitmapdata object under Camera object. If you have an idea to solve this problem, I'm taker.

Furthermore, the server side script can manage custom image resolution.

Cordialy.

Portrait de Anonyme

Le 18 octobre, 2007 - 14:01
webun a écrit

The link of image above is
http://newgame.110mb.com/mugshot/mugshot320.jpg
The server might be not work with hot link..
Thank..

Portrait de bonvga

Le 18 octobre, 2007 - 18:55
bonvga a écrit

Hu ho !

Forbidden

You don't have permission to access /mugshot/mugshot320.jpg on this server.

Portrait de Anonyme

Le 19 octobre, 2007 - 08:01
webun a écrit

Dear sir thank you for reply me.
I see some one can expand the image size with success here..

http://www.johnwu.com/ora

If you have any new about this please public here.. I'll alway check.. Thank you Smile

p.s. If you can't access the image above please try http://newgame.quotaless.com/mugshot/mugshot320.jpg

Poster un nouveau

Le contenu de ce champ ne sera pas montré publiquement. If you have a Gravatar account, used to display your avatar.
  • Balises HTML autorisées: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <u> <img> <strike> <blockquote>
  • Les lignes et les paragraphes vont à la ligne automatiquement.
  • Les smileys texte sont replacés par des smyleys images.
  • Les adresses de pages web et de messagerie électronique sont transformées en liens automatiquement.
  • Vous pouvez activer la coloration syntaxique du code source à l'aide des balises suivantes: <code>, <blockcode>, <as3>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <ini>, <java>, <javascript>, <mysql>, <php>, <plsql>, <python>, <robots>, <ruby>, <smarty>, <vb>, <xml>. The supported tag styles are: <foo>, [foo].
  • Les liens d'images avec le tag 'rel="lightbox"' dans la balise <a> apparaîtrons dans une Lightbox.

Plus d'informations sur les options de formatage