Welcome, Guest. Please login or register.
Did you miss your activation email?
Aug. 08, 2008, 08:11:04 PM
46283 Posts in 10122 Topics by 5105 Members
Latest Member: neyul
News: PRADO 3.1.1 is released!
 
The PRADO Community » Prado v3.x » Component Repository » Ppackage YOIS /TImageRender and more... « previous next »
Pages: [1] Print
Author Topic: Ppackage YOIS /TImageRender and more...  (Read 1121 times)
yois
Junior Member
**

Karma: 0
Offline Offline

Posts: 21


SysDevWorld


View Profile WWW
« on: Jul. 27, 2007, 02:37:57 PM »

Hi I'm building a package Called YOIS.

I'm building an image render component that reduce the image size to be displayed in a Web page in a desired size . Reducing the file to. 
This is very useful for photogallery pages, and other Web sites who use a lot of images, because the downloading page time is very short.
This component create a cache directory like: /images_dir/mant_dir_name/image_format/resized/talle_image-axis_y_or_x-image_name.jpg.
Each image with the same format is saved inside .../image_format/resized/ ( example: Every jpg is saved inside ../jpg/resized/generate_file_name.jpg). Wen the Web page is displayed the image inside the "resized" folder is requested. Only the images, smaller than the main image ( inside /images_dir/ folder) are resized.

Where:
images_dir : Image url directory. Relative to the web site
mant_dir_name: Images Maintenance directory (absolute path /public_html/images/..)
image_format: Images format folder name ( jpg or  gif, or png )
resized: Resized Images directory
talle_image-axis_y_or_x-image_name.jpg: Last file name. This is realliy what the Web page show and download when is requested.

images_dir: Must be with 0775 mode

Require the GD2 extension installed.   

I'm using this in a web site I build.
I reuse and build an THTMLMail componet http://www.pradosoft.com/forum/index.php/topic,7429.0.html that I include too in the same package

I have included in the package too the JonHaywood TCaptchaImageComponent

This package is a Beta Version but it works fine. I still have to document more, enhance more, translate better documentation, codes still... I suppose I'll have to do that for all my life with this package, class and any each code i write in my life...

I propose to include as part of framework, but that decision depends on the acceptance of you. Any suggestion always is welcome.

The documentation is here:

http://sysdevworld.com/collaborations/PRADO/YOIS/

I hope this package (YOIS) will contribute too to the PRADO world components.

Next week ( next Monday). Ill upload an example.

Sorry for my English   :-(

Greetings and thanks in advantage  for PRADO and you.
Yois
Logged

yois
DaMule
Senior Member
***

Karma: 10
Offline Offline

Posts: 245


Sam Hennessy


View Profile WWW
« Reply #1 on: Jul. 27, 2007, 02:49:25 PM »

Sounds exciting yois, keep us up to date on your progress.
Logged

ciro
Junior Member
**

Karma: 7
Offline Offline

Posts: 24



View Profile WWW
« Reply #2 on: Jul. 30, 2007, 02:27:39 PM »

Can't d/l, can you attach to your post the source?
I'll be very pleased to see something like TImageRender...
Logged

So long, and thanks for all the fish.
Pages: [1] Print 
« previous next »
Jump to: