Home › Forum › Plugin e temi di WP › dimensioni logo
-
AutorePost
-
-
8 Settembre 2013 alle 21:04 #25419domenicodepalmaPartecipante
Come si possono aumentare le dimensioni di un logo (immagine inserita in alto a sinistra) di un tema?
Non trovo nessuna finestra dove è possibile inserire nuovi valori…
-
8 Settembre 2013 alle 21:35 #106066TittiModeratore
Vieni sul forum di WordPress a chiedere come si ridimensiona un’immagine? Con photoshop.
Tutto il resto non possiamo immaginarlo.
-
9 Settembre 2013 alle 10:41 #106070JoeKurumaPartecipante
Anche con Paint e Gimp.
-
10 Settembre 2013 alle 7:04 #106103domenicodepalmaPartecipante
Per prima cosa ringrazio per la risposta e mi scuso se rispondo solo ora, ma impegni mi hanno tenuto lontano dal computer…
Beh, sicuramente non mi sono spiegato nella domanda che ho posto… Non ho bisogno di sapere come si riduce le dimensioni di un’immagine e capisco davvero il vostro stupore , ma come cambiare le dimensioni di un logo che sono state imposte in un tema…
Mi spiego meglio. Da qualche parte è stato imposto che le dimensioni del logo, che inserisco in alto a sinistra, devono essere width=”107.14285714286″ “height=”105”
Quindi quando inserisco un’immagine in ASPETTO – TEMA – IMPOSTAZIONE LOGO posso solo scegliere l’immagine da caricare ed eventuale l’url da dare, ma non posso specificare le dimensioni; qualsiasi grandezza abbia l’immagine viene automaticamente ridotta con larghezza 107 ed altezza 105.
Vorrei sapere dove posso cambiare questi valori, ovviamente anche se dovessi farlo modificando qualche voce nel menu editor.
Il tema in questione è PASW (porte aperte sul web).
Vi ringrazio ancora per le risposte che mi avete dato e per quelle che mi darete.
-
10 Settembre 2013 alle 7:18 #106104domenicodepalmaPartecipante
Ho trovato la soluzione. Spulciando dall’editor la voce testata, ad un certo punto leggo:
$image_info = getimagesize(TEMPLATEPATH.’/images/’.basename(get_option(‘Pasw_Logo_img’)));
$scala = 105/$image_info[1];
$width = $image_info[0] * $scala;
$height = $image_info[1] * $scala;
}else{
$width = 0;
$height = 0;
Modificando il valore: $scala = 105/$image_info[1]; da 105 ad uno maggiore è possibile ingrandire il logo del sito…
Vi ringrazio ancora e mi rincuora saper di poter trovare aiuto in questo forum.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.