Railpage Australia™
  
The premier Australian rail server - wasting time and bandwidth since 1992!
 
home
news
discussions
content
site

technical support
Need Help? Lodge a support ticket!

Note: This is for technical support only. General questions about railways should be posted to the Forums.
donation
Donate using PayPal
Please Donate!
photo comp
Have YOU voted yet on Photo of the Month?

Click Here!

Voting Closes 30/11
search


 
faqsearchusergroups profileLog in

Access to Image Gallery.

Post new thread Reply to thread Railpage Australia™ Forum Index -> Railpage Australia™
Page 2 of 3   [ Previous thread ] :: [ Next thread ] Goto page Previous  1, 2, 3  Next

Author Message
Q4004 Chief Commissioner   Joined: Oct 20, 2007
Last Visited: Nov 23, 2008
Location: Looking for a girlfriend HELP!


contact

post
Posted: Sat Apr 05, 2008 10:24 pm
When you log into the image gallery, do you put your normal log in details to access the image gallery, i do and it says this. Error the username or password is invalid, can someone please explain.



Better Music - 973 Coast Fm
ARG. CRAP HORNS. DFZ/DC/AC/AD
ARG. BETTER HORNS P/Q/S


Please PM me when Q4008 is around Forrestfield and S3309 round Kwinana URGENTLEY AS I NEED THEM 2 COMPLETE COLLECTION AND WHEN S CLASS DOES THE QUARTZ

Click for my old rail pics
Click for my new rail pics
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Sat Apr 05, 2008 11:27 pm
It's not open to the public. Haven't you read any of this thread?



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
Gwiwer Rt Hon Gentleman and Ghost of Oliver Bulleid   Joined: Nov 22, 2003
Last Visited: Nov 22, 2008
Location: Far away yet close at hand in images of elsewhere


contact

post
Posted: Tue Apr 08, 2008 10:52 pm
Quote:
would save a lot of time and effort not to mention bandwith!


And here was me thinking "Railpage Australia™" was all about "wasting bandwidth" Wink

The gallery has been away for a long time. I realise it has required a rebuild or something of that order and we were told a while ago now it was being tested before reopening but have we any more developments since then?

If it is staying offline then I support the suggestion to remove the links and perhaps to offer those who might specifically request it the chance to retrieve their images if required.



CEO Penhayle Bay Railway. Ferroequinologist. BA Hons (Honourable Bachelor of Aquatarts )
The wise yet mysterious Sir Gwiwer Greybeard
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Wed Apr 09, 2008 7:31 am
The main reason it's offline is that the index page requires 95mb of RAM to generate, compared to 3.45mb for this page. In other words, it'll suck the crotch out of the server if it's turned online.

I've been trying to find a way to create a static, cached copy of the index page - but not had any luck thus far.



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
Alco_Haulic Chief Commissioner   Joined: Jul 28, 2004
Last Visited: Sep 29, 2008
Location: Eating out...


contact

post
Posted: Fri Jun 27, 2008 11:43 am
OK, only just found this thread... After finding the locked off gallery!

Thanks for finally telling us why the gallery has been down, and why your not finding anyway to get it back up.

BTW: I can really see how 95mb of RAM could be a problem!



Alco_Haulic is the Geek in Goth Clothing!


Click Here for my Photogallery
 
s
greenkayaker Minister for Railways   Joined: Sep 20, 2005
Last Visited: Nov 20, 2008


contact

post
Posted: Sat Jul 05, 2008 5:38 pm
michaelgreenhill wrote:
The main reason it's offline is that the index page requires 95mb of RAM to generate, compared to 3.45mb for this page. In other words, it'll suck the crotch out of the server if it's turned online.

I've been trying to find a way to create a static, cached copy of the index page - but not had any luck thus far.


I know the old layout with thumbnails was good to look at, but is there any reason why the index pages could not just be text links?

Sort them alphabetical or whatever. Make it like the Members List so that you can search for each members gallery, either by name, by most recent updates or whatever. No need for Thumbs as they don't really show much anyway.

And with text links, you could have more on the one page. Instead of 8 index pages IIRC.



And then?????? Mwa ha ha ha!
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Sun Jul 06, 2008 12:42 am
greenkayaker wrote:
michaelgreenhill wrote:
The main reason it's offline is that the index page requires 95mb of RAM to generate, compared to 3.45mb for this page. In other words, it'll suck the crotch out of the server if it's turned online.

I've been trying to find a way to create a static, cached copy of the index page - but not had any luck thus far.


I know the old layout with thumbnails was good to look at, but is there any reason why the index pages could not just be text links?

Sort them alphabetical or whatever. Make it like the Members List so that you can search for each members gallery, either by name, by most recent updates or whatever. No need for Thumbs as they don't really show much anyway.

And with text links, you could have more on the one page. Instead of 8 index pages IIRC.

The problem isn't with the images - the root of the problem is that for each album in the gallery, the data for that album is stored in a text file in the root of the album. At last count there was well over eight thousand albums in the gallery, so for each generation of the gallery index it has to recurse through the album folders, read the data files for each album and collate it all together. Hence the 95mb.

Shyeah, because using a database would've been too easy.



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Sun Jul 06, 2008 2:14 am
I tell a lie, actually - the albums aren't in a tree on the server, they're all just lumped together in one folder with no structure to them.

I have managed to get the memory required down from 95mb to 18mb per generation for the index. Still pretty high, but I'll see how that works for now Smile



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
greenkayaker Minister for Railways   Joined: Sep 20, 2005
Last Visited: Nov 20, 2008


contact

post
Posted: Sun Jul 06, 2008 11:02 am
95 to 18 a big saving, but as you say, still too big.



And then?????? Mwa ha ha ha!
 
s
wolfpac Chief Commissioner   Joined: Apr 19, 2004
Last Visited: Nov 22, 2008
Location: "Melton"-SSS Line...


contact

post
Posted: Sun Jul 06, 2008 11:53 am
That's it, that's a tidy saving, but still, if you move the decimal point left one spot, we'd be right, considering the RP server (has it got a name yet, BTW?) hasn't got 32GB of RAM, unfortunately... Laughing

Still, don't take this the wrong way, is it worth the effort, in the end, with most people now using fotopic, flickr etc?

Just a thought, not bagging the effort or anything silly like that!

Wolfpac



Secretary of the Melton Model Railway Club! -> http://www.meltonmrc.org.au/

Djerriwarrh Festival 2008 - 8-Nov-2008
A62 at Bacchus Marsh Station - 31-Oct-2008
Sunbury Model Railway Show - 26-Oct-2008

For Photos: http://wolfpac.fotopic.net/ AND http://youtube.com/wolfpacw for VIDEOS
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Sun Jul 06, 2008 2:30 pm
To be honest I'd prefer it if we simply ditched it altogether and started fresh - but there's a lot of photos locked up in there, and a lot of people want to get to them. I do see your point about off-site hosts though - hell, I use one Smile



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
wolfpac Chief Commissioner   Joined: Apr 19, 2004
Last Visited: Nov 22, 2008
Location: "Melton"-SSS Line...


contact

post
Posted: Sun Jul 06, 2008 2:46 pm
Well it'd certainly be easier! Laughing Then again, all those thousands of photos... Even though the RP galler is/was/is free, I suppose that's "all" they do, photo galleries. And I'm sure you've worked out I do too! Laughing

Still, it's all experience, and a lot of hard work. Good luck with it because I'm glad you're at it, I hate coding with a passion! Smile

Wolfpac



Secretary of the Melton Model Railway Club! -> http://www.meltonmrc.org.au/

Djerriwarrh Festival 2008 - 8-Nov-2008
A62 at Bacchus Marsh Station - 31-Oct-2008
Sunbury Model Railway Show - 26-Oct-2008

For Photos: http://wolfpac.fotopic.net/ AND http://youtube.com/wolfpacw for VIDEOS
 
s
David Peters Minister for Railways   Joined: Nov 29, 2005
Last Visited: Nov 21, 2008
Location: In a black Trans Am!


contact

post
Posted: Sun Jul 06, 2008 3:24 pm
Would it be possible to retrieve the photos that people wanted and send them back to them or whatever and then simply close the thing down altogether and you could spend more time drinking or summat.

This would allow those that wanted too, to post their photo's on offsite places as now done! Just a thought, although it will probably be just as much work!

I have to agree about removing the links to those sections of this site that do not work at the moment, if you want to later on then you can still revive them, if you really want to and it will save all the newbies asking the same inane question "Why does the Image Gallery not work". Just a thought MGH™!



National Railway Museum member.
The opinions expressed by my me in these posts is not the opinion of the N.R.M. and should not be construed as such.
Ferroequinologist and Microferroequinologist.
Photosite http://davidpeters950.fotopic.net
 
s
wongm Minister for Railways   Joined: May 26, 2005
Last Visited: Nov 20, 2008
Location: Geelong, Victoria


contact

post
Posted: Sun Jul 06, 2008 4:29 pm
michaelgreenhill wrote:
To be honest I'd prefer it if we simply ditched it altogether and started fresh - but there's a lot of photos locked up in there, and a lot of people want to get to them. I do see your point about off-site hosts though - hell, I use one Smile

One option would be to write a script to parse all the data folders and output static HTML pages of everything. You can then upload the files to the server (space isn't an issue with running your own server) and then people can still get the images. If they want to add new ones they can just go to another site.



Marcus Wong

Railway Pics (and the chaff) Updated November 21st
Youtube videos
Rail Geelong: History of Geelong's Railways. Victoria's real Main Line.
 
s
michaelgreenhill Patron Saint of Alcohol Patron Saint of Alcohol
  Joined: Jan 17, 1985
Last Visited: Nov 22, 2008
Location: Lost Somewhere In Time


contact

post
Posted: Sun Jul 06, 2008 4:56 pm
wongm wrote:
michaelgreenhill wrote:
To be honest I'd prefer it if we simply ditched it altogether and started fresh - but there's a lot of photos locked up in there, and a lot of people want to get to them. I do see your point about off-site hosts though - hell, I use one Smile

One option would be to write a script to parse all the data folders and output static HTML pages of everything. You can then upload the files to the server (space isn't an issue with running your own server) and then people can still get the images. If they want to add new ones they can just go to another site.

I looked at something similar to that - writing a new class to read the data files properly and just dump them to HTML, without any of the polls/stats/etc rubbish that G1 bloats the pages with.

I've found out that one reason the index page is so bloated is that for each album, it loads the entire album data (including associated image data like count, paths, etc) to memory, and then it tries to determine if it's a top-level album. If it is, it loads that data into memory again, but it still keeps the original copy. In other words, each album is loaded into RAM once and the top-level albums are loaded into RAM once again.



Michael Greenhill
RP2 System Lord, RP3 Lead Developer
Rules for Posting | Help for Beginners | FAQ | Helpdesk

My photos on Flickr.

Railpage Australia
 
s
Display from:   

Post new thread Reply to thread Railpage Australia™ Forum Index -> Railpage Australia™
Page 2 of 3  [ Previous thread ] :: [ Next thread ] Goto page Previous  1, 2, 3  Next

All times are GMT + 10 Hours




Jump to:  
You cannot post new threads in this forum
You cannot reply to threads in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB 2.0.6 © 2001 phpBB Group

Theme images and concept © 2004 by Michael Greenhill and Railpage, All Rights Reserved.
Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Forums ©



Web site powered by PHP-NukeAll logos and trademarks in this site are property of their respective owner
The comments are property of their posters, all the rest is © 2003-2008 Interactive Omnimedia

You can syndicate our news using the news ticker or one of the RSS feeds
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved.
PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.878 Seconds -- Current Server Load: 0.11%