28, May 2012

[PHP,CSS,JS] Gallery script - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: [PHP,CSS,JS] Gallery script
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: [PHP,CSS,JS] Gallery script  (Read 3337 times)
Total Zero
*
Gender: Male
Posts: 5
38 credits
Members referred : 0



« on: Jun 27, 2006, 11:14:46 pm »

I wrote a simple gallery script, you can download it and coment at

http://koras.pl/blog/2006/06/27/korki-photo-shit-gallery-v-10/

or comment it below.
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jun 28, 2006, 12:31:21 am »

Hello,

do you have a demo? and maybe you can tell us what is special with this script?

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #2 on: Jun 28, 2006, 12:54:16 am »

yeah, please tell us...


Last blog : Bingag Beach, Bohol, Philippines
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Jun 28, 2006, 09:27:04 am »

Hey fellas the demo is here

Nice script korki. It uses the gd library? And the resize is automatic or you just upload the photos?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Jun 28, 2006, 09:35:34 am »

Hey fellas the demo is here


hm... can't remember the link before...Wink

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Jun 28, 2006, 09:43:36 am »

OK, the mouse over effects are nice but I didn't like that the page dissapears if I move the mouse outside that photo area. What about the loading time if there are 100 photo's or more with a better quality?

I checked a liittle bit the code of your admin script, there is no image resize function, maybe you will add this while using GD or imagemagick or try this upload class

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #6 on: Jun 28, 2006, 09:47:31 am »

For image resize try this class. It uses gd and it is compatible with the new versions of gd that handle gif files.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Jun 28, 2006, 09:52:58 am »

For image resize try this class. It uses gd and it is compatible with the new versions of gd that handle gif files.

yes right this example has more support for diff. image types.

if you need to resize large images > 1mb you should start with imagemagick

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #8 on: Jun 28, 2006, 09:54:51 am »

What is imagemagick?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #9 on: Jun 28, 2006, 09:57:49 am »

What is imagemagick?

with GD you need blocks of code to resize an image, with imagemagick it's done via the command line in on row! check this: http://www.imagemagick.org/script/convert.php

(I'm very surprised that you didn't know IM, thought that this installed with Linux by default) Cheesy

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #10 on: Jun 28, 2006, 10:02:06 am »

Wow, it looks great.

I should make a php class for this(or better search for one, I guess there will be one)

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #11 on: Jun 28, 2006, 10:05:56 am »

Ok got it. Bellow is one from PECL and one from another guy that works without pear

http://pecl.php.net/package/imagick
http://freshmeat.net/projects/imagemagickclass/


Thanks for the tip Olaf (I guess it would be good for korki too), I will need this to my new project.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #12 on: Jun 28, 2006, 10:07:04 am »

Inside my upload class is a photo upload example, within this example its possible to resize the photo with GD or IM.

I started with IM because GD need a lot of MB's of memory to resize a > 1mb foto

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #13 on: Jun 28, 2006, 10:08:42 am »

1mb is too much. Sites like flickr wouldn't stand it even if they had a farm of 100 servers, lol Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #14 on: Jun 28, 2006, 10:35:58 am »

1mb is too much. Sites like flickr wouldn't stand it even if they had a farm of 100 servers, lol Smiley

The user (most of my customers) didn't know about file sizes, they upload everything they made with their 5mio pixel digi camera

Total Zero
*
Gender: Male
Posts: 5
38 credits
Members referred : 0



« Reply #15 on: Jul 02, 2006, 12:49:21 pm »

images are resizing automaticly when U want to view it for the first time. It uses gd library and saves the thumb in a folder and next time to do it faster the script opens the already made thumb. i think it is quite quick
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #16 on: Jul 02, 2006, 01:05:27 pm »

images are resizing automaticly when U want to view it for the first time. It uses gd library and saves the thumb in a folder and next time to do it faster the script opens the already made thumb. i think it is quite quick
Yes it's quick if the file much smaller then 1MB otherwise it takes time and memory...

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3056
Tags : php linux Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: [PHP,CSS,JS] Gallery script
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:39:49 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.