Export the whole gallery to static HTML Export the whole gallery to static HTML
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Export the whole gallery to static HTML

Started by karloch, January 04, 2005, 03:39:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

karloch

Hi,

I'm user of CPG 1.3.2 and I'm very pleased with it. My group of friends and myself are using every day the gallery uploading new photos. The problem is that the gallery is growing bigger and bigger and some day there won't be anymore space on the HD to host it. I do not want to resize the pictures because we want to keep the original full-sized ones.

So the idea is to burn the entrie gallery to a DVD when her size is about 4 GB, and then flush the online gallery and start the process again. But the gallery is not just the pictures. The gallery are the categories, albums, photo titles, descriptions, comments and ratings, etc...

Because of that it would be great to make a way to export the entrie gallery to static HTML in order to view it in the DVD with the same layout and structure than the php version. This would include all database elements, as categories, comments, albums, etc... Everything static.

Would this export feature be viable on Coppermine?

Richy.nl

What you can do is look at www.digitalductch.com and download Arles Image Creator.

1. Make a webgallery BEFORE you put them on the Coppermine webserver
2. Send the webgallery over from the harddisk to the webserver
3. Leave the webgallery on the webserver
4. Leave a copy of the stuff on the harddisk

Arles does this proces:

1. Making thumbs
2. Resize photos
3. Add logo / watermark
4. creating static HTML
5. etc etc...

I'm using this software program for 5 years now. I can't live without it.... ;)

Look at the website: http://www.digitaldutch.com/arles/description.htm


(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.richy.nl%2Fe107%2Fe107_themes%2Frichy_theme%2Fimages%2Fbanner.gif&hash=fe374ba311544703a1de9bb8315d62bd151d2526)


karloch

A nice program, indeed. But that's not useful in my case, where a group of users are uploading pictures frenquently. Futhermore, I want to keep also the commenets and the ratings, save everything and get everything ready to view from a DVD using any webbrowser.

Tranz

hmm... I read somewhere about setting up php/mysql to run from a CD(or whatever removable storage media). If you can do that, plus put all your files on the same dvd, you can then have a portable, php-based gallery.

karloch

That's not quite logical. PHP is a serverside scripting language, so in order for the user to see the gallery it would need a webserver with a php interpreter as well as a mySQL database.

The idea is that the user with the DVD could open index.htm file and the see like the index.php of CPG. From there he could browse the galleries and take a look to every picture with the comments and the ratings there. Of course, as the content is now static, the user could no send any new data to the gallery since it is on a CD/DVD, designed to browse it offline.


Tranz

#6
Quote from: karloch on January 04, 2005, 10:25:52 PM
That's not quite logical. PHP is a serverside scripting language, so in order for the user to see the gallery it would need a webserver with a php interpreter as well as a mySQL database.
The point was to install PHP on the dvd itself. Instead of having the installation files on the hard drive of a server, which is basically a computer, you store all the server apps on the dvd. I don't know where the site is now, but it was describing how to install php on a removable drive so people can make presentations of php-based scripts without having access to a remote web server.

The reason why most people need a server to view PHP scripts is because they don't have the PHP processor on their computers. If they do, they don't need a remote webserver to view PHP.

karloch

Quote from: TranzNDance on January 04, 2005, 10:38:54 PM
The point was to install PHP on the dvd itself. Instead of having the installation files on the hard drive of a server, which is basically a computer, you store all the server apps on the dvd. I don't know where the site is now, but it was describing how to install php on a removable drive so people can make presentations of php-based scripts without having access to a remote web server.

That's very interesting. I'll try to search some info about. Please post here if you remember or find the website talking about this.

kegobeer

QuoteThe problem is that the gallery is growing bigger and bigger and some day there won't be anymore space on the HD to host it.

Sounds like you are planning for your Gallery to get up into the hundreds of gigabytes.

Are you self hosting?  If so, you should seriously consider getting a few huge hard drives and configure your server to span across them.  If you aren't self hosting, you should consider upgrading to a better hosting plan.

Those are my recommendations for you.  Believe me, you will be able to do both of them before you find someone to code the export feature you are looking for.

Sorry, but such a "feature" isn't very important to the dev team at this time; we have several projects going and simply can't spare the time to code something a handfull of people may want.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

karloch

Quote from: kegobeer on January 04, 2005, 11:17:49 PM
Are you self hosting?  If so, you should seriously consider getting a few huge hard drives and configure your server to span across them.  If you aren't self hosting, you should consider upgrading to a better hosting plan.

Those are my recommendations for you.  Believe me, you will be able to do both of them before you find someone to code the export feature you are looking for.

Sorry, but such a "feature" isn't very important to the dev team at this time; we have several projects going and simply can't spare the time to code something a handfull of people may want.

Thanks for the reply. I'll try to find another way.

About installing PHP on removable media I found this: http://www.mbedthis.com/
It sounds quie interesting and it is also opensource. Now I have to find something about the SQL database.

pnear

You might want to try http://webstripper.net/, allows you to suck down an entire website to local static HTML.

donnoman

winhttrack would do what you want; no changes necessary to coppermine code.

It's a GPL windows based app, that basicaly scrapes off the final html/ccs/images and creates an offline copy.

http://www.httrack.com/

I'm going to flag this request as invalid because it has little to do with Coppermine code.

Joachim Müller

...additionally, this has been requested before in the past, a search might have told you so...