This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Automatically delete original (large) photos

Hi,

I'm using the image module for my galleries (4.7.x). Now I've got the problem that some users uplaod 3 MB photos which a resized to about 50 KB photos. I don't offer a link to the originally sized photos on the website.

Is there a way to automatically delete the originals so my webspace doesn't fill up that quickly?

Radios and Drop down list

I'd like to create a dynamic module (using ajax?) which changes a drop down list according the radio button selected. I explain myself with an exemple :

radios:
o first choice
o second choice

DDL :
______________
|_____________|

if user choose first choice :
DDL :
____________________
|_first_choice's_option|

if user choose second choice :
________________________
|_second_choice's_option|

Thanks for helping me,
HeBuS

Birthdays Module ready for first release

Hi,

I have finally put my birthdays module for you to use here:

http://www.davidgildeh.com/projects/birthdays

However, the reason it is not on an official projects page in Drupal.org is because I've had no repsonse regarding a problem I've had creating a new project. Basically, there is already a birthdays folder in CVS which has been empty for ages, I think I requested it ages ago. However, some other project apparently is using it, as everytime I try to create a project it tells me another project is using this folder. I've e-mailed the admin at Drupal.org and got no reply on this, if anyone can help me sort this out it would be much appreciated, and if you have the folder reserved for your own project (its been empty for a year now!) please can you contact me asap!

Anyway, main features are:

  • A block of upcoming users birthdays (currently next 6)
  • A page list of all the user's birthdays
  • Displays user's star sign, and hooks into Yahoo Horoscopes
  • A display of the user's birthday/current age/starsign on the user's profile
  • Automatically e-mails administrator with upcoming birthdays in a certain number of days (currently 7)
  • Automatically e-mails user on their birthday
  • If the postcard module is installed, will automatically create an e-card to send them on their birthday (this requires the postcard module from: http://drupal.org/project/postcard)

Image Gallery Descriptions?

Helly,
I am trying to include the description at the top of a gallery page. I was wondering if anyone knew the code I need to call the gallery's description?

I am really stumped and I know it is simple. I dumped the variables on the gallery page and I believe that it is filed under the "body" key of the $image array, but I don't know how to query that array.

Any help would be appreciated.

Sincerely,
Fenwick

mudule

jesus there is so much going on here, different drupal versions, etc, i do not even know what or how drupal i works s.

anyway my question, i have a cool site that uses druuuupal BuT i want to have something that does what bilbo does ie. able to use draw stuff and publish it or to mess about with graphics and publish that in my blog etc

That to me is what th e interenet is about. if you can't express yourself on it then what is its point???

anyone doing this? Anyone published this? anyone thinking about IT?!
thanks

tImmmm

Theming a form created in hook_user

Hello ..

I'm trying to theme a form that is getting created an inserted into the Edit User screen by using hook_user, and creating the form.

I don't know how to theme a form created by this though. It seems that my only option is to return an array full of form elements, and the user module handles rendering the form. Using drupal_get_form and form_render generate a whack of errors.

I'm not sure I've seen an example where a themed form was used with the Edit User function... any pointers, or examples, are greatly appreciated.

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions