Home › Forum › Problemi Vari con WP › Immagine in "Media" alla Galleria delle Immagini interna di WP
-
AutorePost
-
-
6 Novembre 2012 alle 8:16 #23011WoodyPartecipante
Ciao a tutti,
ho da porvi una domanda che sembra stupida, ma sembra impossibile da risolvere.
Devo aggiungere delle immagine già presente in “Media”, alla Galleria delle Immagini interna di WP, cioè a quella galleria che si forma in un articolo quando si butta dentro più di una immagine.
Cerco di spiegarmi meglio, quando in una pagina/articolo si vuole inserire più di una immagine si clicca sul pulsante Carica/Inserisci, e si apre una finestra nella quale posso trascinare delle immagini, quando si fa questo Wp crea in alto una sezione galleria e questa può essere inserita dentro articoli.
Io vorrei inserire a questa galleria delle immagini già presenti nella cartella Media, perchè caricate tempo prima, come si fa? sembra essere impossibile, l’unica soluzione sembra ributtarle dentro, ma mi sembra una cosa poco logica oltre che avere una marea di duplicati ed appesantire inutilmente il tutto.
Avete una soluzione? vi è mai capitato?
grazie
-
6 Novembre 2012 alle 9:00 #98469TittiModeratore
Carica/Inserisci->Libreria Media, scegli la foto e la inserisci nell’articolo. Non c’è bisogno di ricaricarla.
Nella galleria di quell’articolo non andrà , se è già stata assegnata ad un altro articolo.
-
6 Novembre 2012 alle 14:16 #98486WoodyPartecipante
Ciao Titti, la mia domanda era diversa, so come inserire una foto in un articolo è molto semplice, la cosa che sembra impossibile è inserire una foto già presente in Libreria Media nella voce galleria che crea Wp quando inserisci delle foto direttamente da un articolo/pagina.
-
6 Novembre 2012 alle 14:47 #98487TittiModeratore
Nella galleria di quell’articolo non andrà , se è già stata assegnata ad un altro articolo.
-
6 Novembre 2012 alle 18:00 #98495WoodyPartecipante
Quello che hai scritto l’ho capito, ma credo che centri poco, perchè ho delle foto caricate da Media, ma non sono assegnate a nessun articolo pagina, ma non si può fare comunque.
Almeno non vedo opzioni per farlo
-
6 Novembre 2012 alle 18:38 #98496TittiModeratore
Media-> Libreria->Collegato a… niente = puoi inserirla nell’articolo dall’editor o puoi assegnarla (attach) all’articolo da là¬, vale a dire alla galleria di quell’articolo, cliccando su allega, e l’immagine apparirà nella galleria di quell’articolo
Media-> Libreria->Collegato a… qualcosa = puoi inserirla nell’articolo dall’editor ma non puoi assegnarla ad un altro articolo, vale a dire non puoi assegnarla ad un’altra galleria
-
6 Novembre 2012 alle 22:25 #98497WoodyPartecipante
Grazie Titti, funziona, un po’ macchinoso ma funziona.
In pratica devo inserire l’immagine nell’articolo e poi la cancello, cosଠla ritrovo in galleria insieme alle altre.
Confermo che funziona solo con immagini non già inserire in altri articoli, anche se è un po’ strano, in questo modo capiterà di dover inserire l’immagine più di una volta.
grazie ancora
-
7 Novembre 2012 alle 6:46 #98499SteveAglAmministratore del forum
In pratica devo inserire l’immagine nell’articolo e poi la cancello, cosଠla ritrovo in galleria insieme alle altre.
Confessa che non hai mai nemmeno guardato il menu Media -> Aggiungi nuovo eh?
-
7 Novembre 2012 alle 7:05 #98500TittiModeratore
E poi:
Confermo che funziona solo con immagini non già inserire in altri articoli, anche se è un po’ strano, in questo modo capiterà di dover inserire l’immagine più di una volta.
Come già detto, se un’immagine è già stata collegata (attached) ad un articolo (e quindi galleria), non è un po’ strano che tu non possa attaccarla ad un altro articolo/galleria, è cosଠnativamente, e sଠdovrai inserirla più di una volta se la vuoi collegare a più gallerie. Oppure usare un plugin che permetta di farlo.
àˆ cosଠperché WP per creare la galleria dinamicamente ha bisogno che l’immagine sia attaccata a quel post, per la query al database.
Se è solo inserita nella libreria media (Aggiungi Nuovo), e non è collegata a nessun articolo, non può farlo.
-
7 Novembre 2012 alle 7:49 #98501WoodyPartecipante
Confessa che non hai mai nemmeno guardato il menu Media -> Aggiungi nuovo eh?
Cosa c’entra? quello che dici, non volevo aggiungere semplicemente una immagine.
Ma inserirne una già presente nella libreria media, in una specifica galleria di un articolo.
Comunque ora ora risolto, non si può fare se è già collegata. tutto qui
Grazie di tutto ragazzi
-
7 Novembre 2012 alle 10:23 #98502SteveAglAmministratore del forum
Quello che ho scritto era per dire che NON devi caricare una immagine in un articolo e poi sganciarla per averla nella libreria media.. puoi caricare le immagine in libreria non associandole a nulla e usandolo quando ti servono collegandole all’articolo solo in quel momento.. poi ovviamente rimarrà li collegata…
Ma non è che t vuoi usare una immagine già presente perchè vuoi caratterizzare un articolo in base ad una sua categoria di appartenenza forse? Perchè in questo caso ci sono altre soluzioni
-
7 Novembre 2012 alle 10:29 #98503SteveAglAmministratore del forum
Comuqnue usando http://codex.wordpress.org/Gallery_Shortcode puoi usare l’opzione:
include
comma separated attachment IDs to show only the images from these attachments.
[gallery include="23,39,45"]
Che ti permette di avere una gallery composta dagli allegati con gli id specificati (anche solo uno) e quindi riusare la stessa immagine in posti diversi, per sapere gli ID puoi usware un plugin che mostra gli ID su tutte le tabelle di post paagine etc tipo:
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.