+ Rispondi alla Discussione
Risultati da 1 a 16 di 16
  1. #1
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito 2 domande sulle immagini

    allora, premetto che di editor di immagini non ne capisco niente, ho 2 domande da fare:

    - ho visto che alcuni utenti hanno una firma con immagini che ogni volta che carichi la pagina cambiano, come si fa? è una funzione del forum o usano qualcosa tipo una gif? mi dite come faccio a farla?

    - ho bisogno di mettere delle scritte (non semplici scritte, qualcosa di strano e bello da vedere) su un'immagine, che programma uso?


    grazie a tutti

  2. #2
    BazookA
    ospite

    Predefinito Re: 2 domande sulle immagini

    1) usiamo uno script php che va a 'pescare' immagini in una cartella, entrambi hostato in uno spazio web

    2) free c'è the gimp

  3. #3
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    ma allora poi in firma linkate il risultato di quello che avete hostto...è una cosa fattibile per uo che parte da zero?

  4. #4
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    Piazzi tutta sta pappa in un file di testo e lo piazzi sul tuo spazio, crei una sottocartella e ci infili tutte le immagini che vuoi (.gif .jpeg .png)

    Spoiler:
    <?php
    /*---------------------------------------------------------------/
    / 123RandomImage v0.0.1 /
    / Based on img.php by inso (www.shi8.com) found at /
    / the phpbuilder.com code snippet library. /
    / /
    / Copyright (C) 2004 Somebody /
    / Email: microchips [at] gmail.com /
    /----------------------------------------------------------------/
    / This program is free software; you can redistribute it and/or /
    / modify it under the terms of the GNU General Public License /
    / as published by the Free Software Foundation; either version 2 /
    / of the License, or (at your option) any later version. /
    / /
    / This program is distributed in the hope that it will be useful,/
    / but WITHOUT ANY WARRANTY; without even the implied warranty of /
    / MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /
    / GNU General Public License for more details. /
    / /
    / You should have received a copy of the GNU General Public /
    / License along with this program; if not, write to the Free /
    / Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,/
    / MA 02111-1307, USA. /
    /---------------------------------------------------------------*/

    //
    // Configuration

    // Change this to the pathname of the directory where the random images reside. If for example your page is at
    // www.website.com/random.php and all the random images are in the directory www.website.com/random-imgs/ you
    // should leave this as-is. All files with a .gif (boo UNISYS!), .jpg, .jpeg or .png extension in this directory
    // will be added to the rotation
    $path = './signrandom/';

    // That's all you need to configure! See http://whcontrolpanel.sourceforge.net for information on calling it from
    // webpage.

    $files=array();
    if ($handle=opendir("$path")) {
    while(false !== ($file = readdir($handle))) {
    if ($file != "." && $file != "..") {
    substr($file,-3)=='gif';
    substr($file,-3)=='jpg';
    substr($file,-3)=='jpeg';
    substr($file,-3)=='png';
    $files[count($files)] = $file;
    }
    }
    }
    closedir($handle);

    $random=rand(0,count($files)-1);
    if(substr($files[$random],-3)=='gif') header("Content-type: image/gif");
    elseif(substr($files[$random],-3)=='jpg') header("Content-type: image/jpeg");
    elseif(substr($files[$random],-3)=='jpeg') header("Content-type: image/jpeg");
    elseif(substr($files[$random],-3)=='png') header("Content-type: image/png");
    readfile("$path/$files[$random]");
    ?>


    Per le scritte, in giro ci sono un mucchio di tutorial, prova a vedere su good-tutorials.com

  5. #5
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    allora....abbiate pietà ma non ci capisco molto ^^
    dove lo metto l'indirizzo dello spazio web? piazzo semplicemente l'url al posto di qutti quei commenti?

    e poi dove lo trovo uno spazio web? l'avevo con tin.it ma ho cambiato provider adesso e non ce l'ho più :(

  6. #6
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    Metti il file di testo su altervista.org, è gratuito. In una sottocartella le immagini, e poi copi il link del txt e lo metti in sign tra le tag
    Codice:
    [img][/img]

  7. #7
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    allora, 2 cose...

    ma metto tra i tag [img] il file txt?

    e poi, sul file di testo dove la metto l'indirizzo della cartella? così?

    $path = 'http://nik.altervista.org/cartella/';


    perchè ho provato ma non funzia :(

  8. #8
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    allora uppi il file di testo dopo averlo rinominato con estensione .php (mi ero dimenticato ) crei una sottocartella nella cartella dove il file .php e ci infili tutte le immagini che vuoi. copi il link del file .php e lo metti in sign tra le tag che ho detto.
    per esempio il mio
    Codice:
    [img)http://tigerwoods.altervista.org/randomvalkyries/Tenjin_Hidetaka_-_Art_Works_of_Macross_-_Valkyries.php[/img]

  9. #9
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    allora, scusa ma probabilmente mi spiego male ^^

    il file avevo immaginato che fosse php e non txt (infatti te l'avevo chiesto ), il problema è che non so, all'interno del file di testo, dove mettere l'indirizzo della cartella....sto facendo un casino di prove ma non ci riesco

  10. #10
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    ecco, per esempio l'ultima prova che ho fatto è:

    / Copyright (C) 2004 Somebody /
    / Email: microchips [at] gmail.com /
    /----------------------------------------------------------------/
    / This program is free software; you can redistribute it and/or /
    / modify it under the terms of the GNU General Public License /
    / as published by the Free Software Foundation; either version 2 /
    / of the License, or (at your option) any later version. /
    / /
    / This program is distributed in the hope that it will be useful,/
    / but WITHOUT ANY WARRANTY; without even the implied warranty of /
    / MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /
    / GNU General Public License for more details. /
    / /
    / You should have received a copy of the GNU General Public /
    / License along with this program; if not, write to the Free /
    / Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,/
    / MA 02111-1307, USA. /
    /---------------------------------------------------------------*/

    //
    // Configuration

    // Change this to the pathname of the directory where the random images reside. If for example your page is at
    // www.website.com/random.php and all the random images are in the directory www.website.com/random-imgs/ you
    // should leave this as-is. All files with a .gif (boo UNISYS!), .jpg, .jpeg or .png extension in this directory
    // will be added to the rotation
    $path = 'http://maboscol.altervista.org/cartella/';

    // That's all you need to configure! See http://whcontrolpanel.sourceforge.net for information on calling it from
    // webpage.

    $files=array();
    if ($handle=opendir("$path")) {
    while(false !== ($file = readdir($handle))) {
    if ($file != "." && $file != "..") {
    substr($file,-3)=='gif';
    substr($file,-3)=='jpg';
    substr($file,-3)=='jpeg';
    substr($file,-3)=='png';
    $files[count($files)] = $file;
    }
    }
    }
    closedir($handle);

    $random=rand(0,count($files)-1);
    if(substr($files[$random],-3)=='gif') header("Content-type: image/gif");
    elseif(substr($files[$random],-3)=='jpg') header("Content-type: image/jpeg");
    elseif(substr($files[$random],-3)=='jpeg') header("Content-type: image/jpeg");
    elseif(substr($files[$random],-3)=='png') header("Content-type: image/png");
    readfile("$path/$files[$random]");
    ?>

  11. #11
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    devi mettere il nome della cartella in cui stanno le immagini

  12. #12
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    Citazione Originariamente Scritto da tigerwoods Visualizza Messaggio
    devi mettere il nome della cartella in cui stanno le immagini
    si, sostituisco il nome della cartella nella path, ma è giusta la sintassi?

  13. #13
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    come nell'esempio devi scrivere:

    $path = './cartella/';


    ma chiamare la cartella "signrandom" e bon?

  14. #14
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    aaaahhhhhh, ecco l'inghippo ^^

    io non mettevo il nome della cartella, ci mettevo proprio tutto l'indirizzo ops:

    cmq una cosa è fatta, ora mi metto a sistemare le immagini ^^

    grazie mille cmq, soprattutto della pazienza

  15. #15
    Il Nonno L'avatar di maboscol
    Data Registrazione
    06-05-03
    Località
    45°13' N e 12°17' E, (VE)
    Messaggi
    6,762

    Predefinito Re: 2 domande sulle immagini

    rieccomi ad aprofittare della pazienza altrui
    chiedo qua perchè mi secca aprire un topic per una cosa che sicuramente è una baggianata

    allora, mi sono messo a cercare tra i tutorial qualcosa che mi possa piacere e ho trovato questo che farebbe al caso mio:

    http://www.volalibero.it/rilievo.html

    però c'è un problema....in questa guida (e in talte altre, non è la sola che ho letto che mi da sto problema) si legge:

    aggiungiamo un livello bianco (Livello -> Nuovo Livello) e un livello testo con la scritta che vogliamo "stampare".
    ok per il livello bianco, ma come faccio a fare un livello col testo? se io vado su nuovo livello posso fare un livello bianco, trasparente, altre cose che non ricordo ma assolutamente non un livello col testo....come faccio?
    ho visto che qualunque tutorial per il testo accenna a questo livello con testo quindi sicuramente sono io che non cerco nel posto giusto ma non ne esco :(

  16. #16
    tigerwoods
    ospite

    Predefinito Re: 2 domande sulle immagini

    The gimp non ricordo come è, ma in photoshop c'è un pulsante nella barra degli strumenti che ti fa scrivere un testo, che viene automaticamente identificato come nuovo livello.

+ Rispondi alla Discussione

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  • Il codice BB è Attivato
  • Le faccine sono Attivato
  • Il codice [IMG] è Attivato
  • Il codice HTML è Disattivato