Image Gallery Script Help

This is a discussion on "Image Gallery Script Help" within the JavaScript Forum section. This forum, and the thread "Image Gallery Script Help are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 23rd, 2007, 16:55
New Member
Join Date: Aug 2007
Location: texas
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Image Gallery Script Help

I found an Image Gallery script on dhtmlgoodies.com, here's the demo:
http://www.dhtmlgoodies.com/scripts/...slideshow.html

Im trying to implement it into my site but the problem is when images are used that are larger than the main DIV for displaying a picture, it overlaps and screws up the page. Is there a way to either contain a large picture in this div, or resize the picture to fit in the box?
Reply With Quote

  #2 (permalink)  
Old Aug 23rd, 2007, 16:58
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image Gallery Script Help

how do you upload the pictures on your server? do you do it manually or through a script?

manually: resize the images yourself before uploading them
through a script: use imagemagick or gd to resize the images on upload.
Reply With Quote
  #3 (permalink)  
Old Aug 23rd, 2007, 17:42
New Member
Join Date: Aug 2007
Location: texas
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image Gallery Script Help

Each user on my site is allowed to upload images, the original images are saved in one location, and a set of 100 X 100 thumbnails are created via gd and saved in another folder (for my frontpage). I'm trying not to create another set of thumbnails so that things will stay organized. Would it be possible for the image to resize with javascript so that it would fit in the DIV?
Reply With Quote
  #4 (permalink)  
Old Aug 23rd, 2007, 17:48
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image Gallery Script Help

Resizing images with HTML always makes them look very choppy IMO.

If there's a way with JS ... I don't know it sorry ...
Reply With Quote
  #5 (permalink)  
Old Aug 26th, 2007, 23:22
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,790
Blog Entries: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Re: Image Gallery Script Help

you could check the size of the images when they are being uploaded.
something like:
PHP: Select all

$size get_image_size($img); 

Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Tags
image gallery

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Gallery Help McG Web Page Design 1 Apr 18th, 2008 01:29
need a script to change an image in a photo gallery cyberseed JavaScript Forum 7 Apr 20th, 2007 09:25
PHP image gallery Maverick25r PHP Forum 2 Oct 12th, 2006 01:16
Image gallery not displaying enlarged image AdRock PHP Forum 15 Sep 1st, 2006 11:31
need an image gallery spellbyte Web Page Design 4 Mar 7th, 2006 13:45


All times are GMT. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43