The Computer Oracle

How to generate web picture gallery offline? (no php on server)

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping

--

Chapters
00:00 How To Generate Web Picture Gallery Offline? (No Php On Server)
00:37 Accepted Answer Score 8
01:35 Answer 2 Score 3
01:50 Answer 3 Score 16
02:56 Answer 4 Score 0
03:19 Thank you

--

Full question
https://superuser.com/questions/190134/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#images #website

#avk47



ANSWER 1

Score 16


You can use one of these (all open source):

Some of these are mentioned in this comparison.




ACCEPTED ANSWER

Score 8


What about using Picasa and creating a web album (1GB limit)?


Anyway I suggest you to batch resize them (just for show'em), 5MB are definitely too much for a screen slideshow.

An excellent tool for do that is (IMO) ImageMagick you can find plenty of howtos around, but here's a sample:

i=1
for f in *.jpg ; do
  n=`printf '%08d' $i`
  convert $f -thumbnail 1000x1000 out/p$n.jpg
  convert $f -thumbnail 150x150^ -gravity center -extent 150x150 out/_p$n.jpg
  i=$[i+1]
done

It creates both big pictures (max 1000x1000) and thumbnails (150x150) in the directory ./out/. All that you have to do now is create an index.html file:

cd out/
for f in p* ; do
  echo "<a href='$f'><img src='_$f'></a>"
done > index.html

Here we go, just move the content of the ./out/ directory to somewhere in your server.

Note: It isn't the best solution to your problem, it's just a quick draft, but I think it's useful knowing such tools.




ANSWER 3

Score 3


You can also use Picasa to generate static html files for display on the web, just goto Folder->Export as html page. From there you can choose a template and resize the images should you wish to.




ANSWER 4

Score 0


what about giving a try to myphotoshare? it's a photofloat fork which uses a bit of php and permits to share content (original photofloat doesn't permit it).

Besides that it manages videos (original photofloat doesn't), permits sorting of albums and media, and has many customizations variables.