Jump to content

[solved] Module that uploads images - function to get image types


g_antonov

Recommended Posts

you should use:

 

ImageType::getImagesTypes();

 

this stacic function returns all image types all array with all fields, it mean that you've got informations like:

 

 

`id_image_type` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,

`name` VARCHAR(16) NOT NULL,

`width` INT(10) UNSIGNED NOT NULL,

`height` INT(10) UNSIGNED NOT NULL,

`products` TINYINT(1) NOT NULL DEFAULT '1',

`categories` TINYINT(1) NOT NULL DEFAULT '1',

`manufacturers` TINYINT(1) NOT NULL DEFAULT '1',

`suppliers` TINYINT(1) NOT NULL DEFAULT '1',

`scenes` TINYINT(1) NOT NULL DEFAULT '1',

`stores` TINYINT(1) NOT NULL DEFAULT '1'

 

 

awsome, dont you think? ;)

  • Like 1
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...