looking for a plugin: dimensions to keywords looking for a plugin: dimensions to keywords
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

looking for a plugin: dimensions to keywords

Started by Deus, December 29, 2012, 11:29:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deus

as stated, take the dimensions of an image and create keywords from them.
Example: 1920 x 1200 would be 1920 and 1200
has anyone created this plugin at some point?
https://daz-stuff.uk
DJ tutorials, E-Bikes, Movies and videogames.
(https://daz-stuff.uk/daz/signature.png)

ΑndrĂ©

As far as I know such a plugin doesn't exist yet. As the needed data should be already available in the SQL database, a simple query will solve it for already existing pictures. If you need it for future pictures, too, you either have to run the SQL query as a cronjob (not recommended), create a plugin (should be quite easy by using the add_file_data hook) or a mod (just append it to $keywords in include/picmgmt.inc.php).