Page 1 of 3
www.andrewingram.co.za
Posted: Thu 20. Apr 2006, 12:24
by trip
Hi All
professional photographer site from Cape Town
http://www.andrewingram.co.za/
let me know your thoughts...
TriP

Posted: Thu 20. Apr 2006, 12:59
by flip-flop
Hi trip,
I would make a narrow or broader edge around the popup photos.
have a look: www .art-varij. de/de_dokumentation_serie_02.phtml
(under construction)
imagezoom.php, image_zoom.js and gif: www .art-varij. de/picture/upload/Files/imagezoom.zip
Gruß Knut
Posted: Thu 20. Apr 2006, 13:08
by trip
excellent idea
I like the way the image opens up full screen...
I will put this foward to the clien.
TriP
Posted: Fri 21. Apr 2006, 10:54
by Kosse
Very nice pictures! Makes you wanna be in RSA
I like the black integration (not my style but well done)

As for the zoomimage, agree with fli-flop, could be a nice idea.
Cheers
Posted: Fri 21. Apr 2006, 15:23
by Ben
It might be a lot of work unless someone creates a content part for it, but Lightbox might be worth checking out:
http://www.huddletogether.com/projects/lightbox2
Posted: Fri 21. Apr 2006, 16:09
by Kosse
Hi Ben,
I've done some tests with it in phpwcms, and it works, but haven't ~yet or never, dunno~ made a CP from it...
Other method: replace the imagezoom function, it requires to tackle all the calls for the open thumbnail... dunno what's easier, proly make a new CP, but takes time
btw, needs tweaking html DOCTYPE as well as it invokes scriptaculous and such...
Cheers
Posted: Sat 22. Apr 2006, 14:55
by Kosse
Got some testing done on version 2... pfiuuu needs A LOT of changes!
It works, but you need to edit hard code
files that I changed for testin gpurposes:
index.php --> for XHTML doc type
front.func.inc.php --> changed the zoom function (only for single image+text...)
added: all the files of the ligtbpox package (like 15, js, css, images)
made a new template to call all the js and css
Conclusion: a content part would mean a lot of job on new files and making a "mod" is also a lot of work..
In the end, dunno if it is worth all the trouble
Cheers
Posted: Tue 25. Apr 2006, 15:56
by Stim
Hi Trip,
How did you create that “font changer” you have on your site? That is exactly what I need to!! Any tip and trick

Posted: Tue 25. Apr 2006, 16:10
by Kosse
Stim wrote:Hi Trip,
How did you create that “font changer” you have on your site? That is exactly what I need to!! Any tip and trick

Borrowed from Joomla

but integrated with Trip's talent into phpwcms
http://www.andrewingram.co.za/cms/style_changer.js
Cheers
Posted: Tue 25. Apr 2006, 16:50
by Stim
Thanks kosse!
I have downloaded “style_changer.js” file from that links. But what should I do with it?

Posted: Tue 25. Apr 2006, 16:57
by Kosse
Put this in your <header>
<script type="text/javascript" language="javascript" src="/style_changer.js"></script>
then when you want to call the js, just put an html content part with:
Code: Select all
<div id="fontchanger"><a href="index.php" title="Increase FONT size" onclick="changeFontSize(1);return false;"><img src="/cms/img/css_larger.png" alt=" font larger" width="32" height="17" border="0" /></a><a href="index.php" title="Decrease FONT size" onclick="changeFontSize(-1);return false;"><img src="/cms/img/css_smaller.png" alt="font smaller" width="32" height="17" border="0" /></a><a href="index.php" title="Revert styles to default" onclick="revertStyles(); return false;"><img src="/cms/img/css_reset.png" alt="reset font" width="43" height="17" border="0" /></a></div>
Use your own images or ask Trip if you can use his.
Cheers
Posted: Tue 25. Apr 2006, 17:06
by Stim
aha thanks!
which folder "style_changer.js" should lie in?
Posted: Tue 25. Apr 2006, 17:44
by Kosse
whatever pleases you, you can put it in /content/pages for example or create your own folder, as long as link is correct

Posted: Tue 25. Apr 2006, 18:04
by Stim
Ok kosse,

Do you meen links to "style_changer.js" in this cod:
Code: Select all
<script type="text/javascript" language="javascript" src="/style_changer.js"></script>
i cant see other link anywere!

Posted: Tue 25. Apr 2006, 18:09
by Kosse
exactly, yes
And thanks Trip for the beauty code (sorry to "bug" your site post
