WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-25-2006, 03:45 AM
PilotPete PilotPete is offline
WebProWorld Member
 

Join Date: Sep 2006
Posts: 25
PilotPete RepRank 0
Default Web based image database

I have a website with some 50,000 images on it that I currently use frontpage galleries to display with a thumbnail, a typical page is http://www.amatas.com/collections/BF...avariBFW06.htm . With the galleries it is very cumbersome and I want to install a database not knowing anything to start with.

In particular I want to retain the thumbnails but using a frames page to display the large images next to it. I have mySQL on my server and also have it installed on my home computer but not sure how to access it nor create the database.

I work generally with frontpage to create html sites and generally understand how it works.

Can anyone advise what is the best way to go about

1. creating the database to use on MySQL
2. Creating the linklages from a web page to the database that shows both the collection as thumbnails and separate larger pictures
3. Storing the images either in common image folder with specific name details or do I do that into a database somehow?
3. Putting it all together so it will function on my website.
Reply With Quote
  #2 (permalink)  
Old 09-27-2006, 05:06 PM
ledelboy ledelboy is offline
WebProWorld New Member
 

Join Date: Dec 2005
Posts: 2
ledelboy RepRank 0
Default

Take a look at Gallery http://gallery.menalto.com/ It is Open Source and works wonderfully. Easier and more flexible than hand coding. Good luck
Reply With Quote
  #3 (permalink)  
Old 09-27-2006, 05:22 PM
jawn_tech's Avatar
jawn_tech jawn_tech is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2004
Location: USA
Posts: 1,757
jawn_tech RepRank 2
Default

I've looked at gallery before and agree it's a great resource. Worth a look.

As for the do it yourself approach, you could keep your images and thumbs in their respective folders, and sure you could create a table in MySql (using something like phpMyAdmin, if your host has it?). The table could just have a few fields in each record that contain links to the images, thumbs, maybe a unique record ID#, description, etc.

The catch is, the pages that use the database would need to be in a server-side format such as php or asp, because you'll need to use some server-side language in your code to access them.

So either way, some url's are going to have to change. Which brings up the next step, using a 301 redirect to the new urls -- and there are threads here that give instructions on that as well.

:)
__________________
Get the facts! Fact Frenzy
Domains, Hosting, & Tools

Reply With Quote
  #4 (permalink)  
Old 09-27-2006, 05:58 PM
martyn-it martyn-it is offline
WebProWorld New Member
 

Join Date: Jul 2006
Posts: 23
martyn-it RepRank 0
Default

Quote:
The catch is, the pages that use the database would need to be in a server-side format such as php or asp, because you'll need to use some server-side language in your code to access them
This is the important bit - you will need serverside for it to work

But I think you need to step back a bit and work out what you want - I've writtern code to do this

Explorer Scout Activities

I have multiple tables in a database
One table is details on a particular event
(Unquie ID, event title, dates and descriptive text)

Another table is for Photos
(Photo filename, photo title, the scout sections the photo contains)

I can then throw the information back in numerous ways
eg photos of Scouts or photos of cubs ...

My photos are all in 2 directories one called photos the other called thumbs.

The nice thing about holding the information in a database is you is you can start throwing the information back on other pages Not just the gallery

eg
Explorer Scout Activity Page the picture and the events come from the db I add new stuff the page gets updated


Martyn
__________________
Martyn
Martyn-it
Reply With Quote
  #5 (permalink)  
Old 09-28-2006, 01:36 AM
AjiNIMC's Avatar
AjiNIMC AjiNIMC is offline
WebProWorld Pro
 

Join Date: Aug 2004
Location: India
Posts: 268
AjiNIMC RepRank 0
Default

You can also try http://www.4homepages.de/ , I like it and it is very nice.

Here is a demo stuff http://www.idealwebtools.com/nimc/gallery/
Reply With Quote
  #6 (permalink)  
Old 09-28-2006, 01:56 AM
usmanz usmanz is offline
WebProWorld New Member
 

Join Date: May 2006
Posts: 3
usmanz RepRank 0
Default

There are various other open source scripts for image galleries written in PHP. You could save the effort of writing your own code with database and put that effort into customizing an open source script.
Reply With Quote
  #7 (permalink)  
Old 09-28-2006, 05:07 AM
jordanmcclements's Avatar
jordanmcclements jordanmcclements is offline
WebProWorld Veteran
 

Join Date: Oct 2003
Location: Northern Ireland
Posts: 453
jordanmcclements RepRank 1
Default

NB - if using PHP in your pages you do not need to redirect or rename the original .html files.

see

www.webproworld.com/viewtopic.php?t=66668&start=25

Although this is a little bit involved if you are used to using frontpage...
Reply With Quote
  #8 (permalink)  
Old 01-05-2007, 09:17 PM
cyberkid cyberkid is offline
WebProWorld Member
 

Join Date: Jan 2007
Posts: 30
cyberkid RepRank 0
Default

If it is the Microsoft Front Page program you are referring to then try its replacement, Expressions.

http://www.microsoft.com/products/ex...n/default.mspx

You should be able to reverse publish the FP site into Expressions. But, there is a new way of creating a page layout that is applied to all the pages as you have now, only this will allow for a transition to a database driven web site.
Reply With Quote
  #9 (permalink)  
Old 02-22-2007, 07:48 PM
PilotPete PilotPete is offline
WebProWorld Member
 

Join Date: Sep 2006
Posts: 25
PilotPete RepRank 0
Default

For the moment I am trying out a program called phpMySite that provides a database recall for photos. I am playing with the layout at the moment www.amatas.com/album but once I get started I need to batch add photos to the database say 100 at a time. The phpMySite allows one pic at a time so I am looking for a way around that to load the database separately if necessary. I have asked the MySite guys if they can provide me with a program fix as it is still developmental.

Any ideas on how to send the images to the database otherwise or some code I can add to the program I have to take groups of pics?

I like the idea of a php site as I only need to change the template once and the whole website can change. With FP, even using side servers, I find that they do not update and the page format is more difficult to alter all of them. I now have something like 1000 pages.

p.s.

Just had another look at the Gallery website and program and as I get to understand more of what I want it looks to have some of what I am after so will give it a try.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum
Tags: based, database, image, web



Thread Tools
Display Modes

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

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



Search Engine Friendly URLs by vBSEO 3.0.0