I like the Image field module for CCK very much. It includes the ability to upload an image file as needed without all the 'extras' that image assist gives you. I don't want authorized users to have the type of access image and image assist provide. Only admins can have this type of access. So the basic quality of this field works for my needs. However I am trying to incorporate some things and I have no clue what to change, etc. Here's what I want to do:
1) I need to limit the file size by both pixel size and #KB size. I cannot figure out how to add the condition for the file KB size. When I set the pixel size limits it does resize an image to fit those conditions (i.e. a 1200x1200 pixel image is resized to 300x200) however using that example, I still have a really large file that is now saved into my database. As I am going to be having folks submit a website banner, photos, etc. I really need to be able to have the ability to limit the KB file size uploads.
2) Can I redirect where these files are saved, i.e. have a folder in my FILES directory titled the same as the CCK content type?
3) Preface: This is a desire-- not anything I think could be actually done, but it would be really cool if it could! Is it possible to have the image name be changed to match some condition, i.e. user name and if that user submits more than one image based on multiple uploads (for different content types, etc) then it would say USER_CCKtypename_# = Myname_art_1 for 1st image uploaded by that specific user, then Myname_myphoto(CCKtypename#2)_1 for second, etc. etc.
OK, sorry if these were already answered, I didn't find them in my searches. If these options cannot be done with this field, is there any module, suggestions, etc that you can share with me? Perhaps I just am not using the Image / Image_assist modules correctly or ??
Thanks in advance!
Comments
Please..
I'd really appreciate some direction regarding this post. Thanks!