Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

passaggio di immagini

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Italian
View previous topic :: View next topic  
Author Message
crimson
Smarty n00b


Joined: 03 Apr 2008
Posts: 2

PostPosted: Thu Apr 03, 2008 11:47 am    Post subject: passaggio di immagini Reply with quote

ciao a tutti!
scusate la mia ignoranza, sto iniziando da poco ad utilizzare smarty..

mi chiedevo se era possibile passare ai tpl anche variabili contenenti immagini e far visualizzare alla pagina la variabile non in formato testo ma l'immagine vera e propria.

è possibile o bisogna fare altri tipi di accorgimenti? Rolling Eyes

grazie in anticipo della risposta.
Back to top
View user's profile Send private message
crimson
Smarty n00b


Joined: 03 Apr 2008
Posts: 2

PostPosted: Thu Apr 03, 2008 4:01 pm    Post subject: Reply with quote

ok credo di aver capito. non lo posso fare, quasi tutti hanno risolto mettendo nel template un riferimento ad una pagina php che cambia l'header per la corretta visualizazzione dell'immagine.

pazienza... provo cosi e vediamo..

cmq trovo strano non ci sia un modo alternativo visto che nella documentazione si sconsiglia di inserire codice php in un template.
Back to top
View user's profile Send private message
veganet
Smarty Rookie


Joined: 28 Dec 2008
Posts: 6

PostPosted: Mon Dec 29, 2008 9:02 am    Post subject: Reply with quote

La funzione "html_image" di smarty non fa al caso tuo?

http://www.smarty.net/manual/it/language.function.html.image.php
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Italian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP