This topic is locked

front end for many web sites

11/4/2008 9:15:52 AM
PHPRunner General questions
T
thesofa author

Hi, bit different this one for me, can I make some pages in PHPR that will show a reduced size preview of loads of the kids websites they have done, we want to show off their work to other kids and visitors to the school.

the idea is I make an index page in phpr, that is searchable by year, or name or tutor group.

each record needs to show a preview on the list page of the front page for each site, the preview being a clickable link to the site, possibly on another server. In addition, the sites details and stats will be shown, number of visitors pages in the site, etc..
Can this be done fairly easily and fast so I can have it up and ready for the inspector by Wednesday 12th November?

TIA

Is there a template that will do the job?

M
mattd1 11/4/2008

TheSofa, it sounds like the "Cars" for sale website.
The tricky bit is getting the images, store as blobs in your DB alongside name, tutor, year, website url etc. You will need a picture, and picture thumbnail field to store the images - then you can "zoom to lightbox" or click to launch the site. You would use header redirect to the URL to launch the site.
I'm thinking out loud here.I suspect you will want something rather more sophisticated - and I don't know how this could be done, especially at short notice - navigate to the site "in memory", take a dynamic snapshot at runtime rather than storing it ... Maybe some script exists out there that can do this ... as noted I'm thinking out loud here.

T
thesofa author 11/4/2008

TheSofa, it sounds like the "Cars" for sale website.

The tricky bit is getting the images, store as blobs in your DB alongside name, tutor, year, website url etc. You will need a picture, and picture thumbnail field to store the images - then you can "zoom to lightbox" or click to launch the site. You would use header redirect to the URL to launch the site.
I'm thinking out loud here.I suspect you will want something rather more sophisticated - and I don't know how this could be done, especially at short notice - navigate to the site "in memory", take a dynamic snapshot at runtime rather than storing it ... Maybe some script exists out there that can do this ... as noted I'm thinking out loud here.



good pointers, I had not thought of the cars template, thanks, as for the thumbnails, i can get the kids to produce them as part of the site production process, I can set a fixed size, say 1/4 screen at 640512 and they can do it in fireworks

I have not done anything in pictures, so "zoom to lightbox" will be a trip in the dark for me.
Maybe 640
512 is too big for comfort

so 320 256 should be fine? what do you think, we run at 12801024 here?

M
mattd1 11/4/2008

Don't know re: resolution - you can set the thumbnail size to create from the full image when you're in Visual Editor.
Also, when I said Lightbox, I think I meant ibox. There is (or was?) an option to have a pop up full size image viewer, I think. You can always just have a view page and it would show the full size image, rather than the thumbnail.
A PHPR user of your calibre will have this live by 4pm !

T
thesofa author 11/4/2008

I Wish!

X
xliner 11/4/2008

I Wish!


http://www.onlinetools.org/tools/easyimage...hp#requirements
One possible way out til 12th November deadline?

X
xliner 11/4/2008