I was wondering how minitokyo was put together- what language and program was
used, and how the galleries were created- as far as importing images and getting
them to properly resize, and having pages add themselves when you have over x
amount of images on a page.
If anyone has a site they could direct me to that goes through this, or
enlighten me themselves, that would be greatly appreciated.
Minitokyo uses PHP and most likely MySQL as a database. This is probably the
most common combination today, when creating small and medium sized dynamic
websites (since they are both free). I'm sure Minitokyo uses a custom image
gallery and not any third party software. Creating an image gallery from scratch
is not so simple I could explain it here. There are several ways to approach
this.
The thumbnails can be created "on-the-fly" with php. However, this
might be a bit slow if the site has a lot of visitor. One way is to create them
when submitting the picture with php and then storing them somewhere. Submitting
images can be made with html forms that have the correct fields and content
type. On submit it's also a good idea to make a record of the picture to the
database for easy usage afterwards.
Pagination often involves the use of a database and the different pages can be
created according to the amount of records in the database selection with
php.
If you are interested about making an image gallery yourself, you might find
some tutorials and tips on the net. Of course you'd have to be proficient enough
with php and SQL databases to do it. There's a lot of material on these on the
net too, if you're interested in learning. You can of course use many other
programming languages than php to achieve the same.
The thumbnail generators are ImageMagick or GD. If you want to look code for
examples see coppermine and/or Gallery. Both great software for posting images
on internet.
Odd, my friend xshintax (username on MT) asked me about sort-of the same thing
via e-mail. Except he knows that you should use PHP... MySQL isn't necessary
though.
I was wondering how minitokyo was put together- what language and program was used, and how the galleries were created- as far as importing images and getting them to properly resize, and having pages add themselves when you have over x amount of images on a page.
If anyone has a site they could direct me to that goes through this, or enlighten me themselves, that would be greatly appreciated.
Minitokyo uses PHP and most likely MySQL as a database. This is probably the most common combination today, when creating small and medium sized dynamic websites (since they are both free). I'm sure Minitokyo uses a custom image gallery and not any third party software. Creating an image gallery from scratch is not so simple I could explain it here. There are several ways to approach this.
The thumbnails can be created "on-the-fly" with php. However, this might be a bit slow if the site has a lot of visitor. One way is to create them when submitting the picture with php and then storing them somewhere. Submitting images can be made with html forms that have the correct fields and content type. On submit it's also a good idea to make a record of the picture to the database for easy usage afterwards.
Pagination often involves the use of a database and the different pages can be created according to the amount of records in the database selection with php.
If you are interested about making an image gallery yourself, you might find some tutorials and tips on the net. Of course you'd have to be proficient enough with php and SQL databases to do it. There's a lot of material on these on the net too, if you're interested in learning. You can of course use many other programming languages than php to achieve the same.
Thanks. I'm glad someone finally responded. I'll look into it.
I suggest buying O'Reilly's Programming PHP and MySQL. It is a good book and most likely what Shequel read, since he is 1337.
I found this image gallery script on animepaper, maybe this will help.
http://www.sunsean.com/iG/index.html
The thumbnail generators are ImageMagick or GD. If you want to look code for examples see coppermine and/or Gallery. Both great software for posting images on internet.
It even tells you how much PHP/SQL at the bottom of every page.
http://hotscripts.com/PHP/Scripts_and_Programs/Image_Galleries/
Odd, my friend xshintax (username on MT) asked me about sort-of the same thing via e-mail. Except he knows that you should use PHP... MySQL isn't necessary though.