Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
GD Library
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 379
Being totally new to the GD Library, I'm not at all sure how to incorporate it into my module. I want to make little images to show the progress of tasks, and I think I'll be okay building the GD code, but what is the best way to include this sort of thing into my module? Any help or tips or pointing to other modules that use GD would be happiness. :) -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
I thought this was a PHP module, rather than a piece of code...
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jun 24, 2005
- Posts: 27
You don't have to use GD that way, you can save the image to a file so you're not always creating an image on the fly (which you'll definately notice under a performance load), and also by saving it to a file it makes it possible for your web server to cache it.
I use a tweaked version of these functions to generate thumbs, it has a few useful things you can do with GD. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 379
I'm actually not using GD for thumbnailing, but rather to create images that will need to be changed based on specific data.
It's worked so far to link to them as images and put the image generator file in my pnincludes folder. Now if I can just figure out what images I'm trying to make. :)
- Moderated by:
- Support
