Jump to content

[Résolu] Module Image::getSize() interdit ?!


Recommended Posts

Bonjour, je rencontre un problème pour la validation d'un module.
 

Le validateur de module m’indique ceci : "Hard coded images types are forbidden"

 

Pour les code suivant : 

$this->context->smarty->assign(array(
	'homeSize' => Image::getSize('home_default')
));

Comment dois je faire pour indiquer dans mon tpl la taille des images attendu ?

 

Merci
Michel

Edited by Graphart créations (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...