hi there!
at first the obligatory thanks to all the contributors! great work!!
after some searching i decided to try evogallery for my second modx-project due
to its ’size’ and flexibility which IMHO fits nice accordingly to the ’modx-spirit’
there are some quirks (like the sorting) which get fixed though... thanks again!
after all, i needed a way to allow admin-users to manually set the thumbnail from an image,
found ’imgareaselect’ (
http://odyniec.net/projects/imgareaselect/ ) and decided to integrate
this functionality into the module.
due to its nature, this involved modifications on some (too many;) files - may be that’s not the
optimal way, but works ok...
in short:
a) additional code for ’js/imgareaselect’ plugin
b) additional button inside ’.thbButtons’ called ’editThumb’ with its own image
c) additional code inside ’templates/upload.js.tpl’ which utilizes the already installed ’overlay’ plugin
d) additional code inside ’classes/management.class.inc.php’ for setup of ’.thbButtons.editThumb’ and callback of ’editThumb’-form
e) additional template in ’templates/thumb_edit.html.tpl’
f) some tweaks in the css-files
i am sorry that i can give no url to look inside, but thought it might be of some interest.
if you like, i can post additional details about the single steps -
regards, _s