Set up one page as Gallery Images
Hi all;
Have a question hopefully someone can help me with.
I was wondering if I can set up a page of just gallery images?
And perhaps put a link to the image that the visitor could click
and it would take them to that product on the site?
If anyone has a suggestion that would be wonderful.
Thanks in advance,
Karen
Re: Set up one page as Gallery Images
What is the business reason for you wanting to do this?
Would your customers use such a page? How will it assist in encouraging sales?
What would this page have, that a product info page does not already have?
Frankly, I see no point in it. Well, certainly not on a ZC site. Maybe on a blog somewhere.
Re: Set up one page as Gallery Images
I think that would be easy enough to do. I guess it would be useful if you were selling art or similar and you need the biggest possible image without having to click through individual product pages.
You could simply have a link on your homepage which opened up a lightbox type modal box (darkened background with image pic). It should be easy enough to do because there's loads of code online which you can use for free :)
Google for 'lightbox php' and that should point you in the right direction.
Good luck!
Re: Set up one page as Gallery Images
I have done this in ez pages - the following code is what I used. Not perfect but it does produve a gallery of images. 2 links on mine - click the photo for the full sized image or the text to take you to the correct page for ordering.
<html>
<head>
<meta name='DESCRIPTION' CONTENT='QuiteQuirky photo gallery.'>
<meta name='KEYWORDS' CONTENT='photo, gallery, album, collection'>
<meta name='TITLE' CONTENT='MY PHOTO GALLERY'>
<link rel=stylesheet type='text/css' href='style2.css'>
<p style="font-family:tahoma">Click on any photograph for a larger image.</p>
</head>
<body>
<table cellpadding=2 cellspacing=2 border=0 align=center width=95%>
<tr valign=top align=center>
<td class=extra colspan=10>
<p>
<font size="5" face="arial" color="red">
Photo Gallery
</font>
</p>
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr valign=top align=center></tr>
<center>
<!----------------------------Gallery numbers 30 to 39--------------------------->
<tr><center>
<td width="10%"><a href='/images/Gall/Gallery_30.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_30.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_31.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_31.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_32.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_32.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/index.php?main_page=index&cPath=73">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_33.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_33.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/index.php?main_page=index&cPath=73">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_34.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_34.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_35.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_35.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_36.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_36.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_37.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_37.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_38.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_38.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_39.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_39.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
</tr>
</table>
</body>
</html>
Re: Set up one page as Gallery Images
Quote:
Originally Posted by
QuiteQuirky
I have done this in ez pages - the following code is what I used. Not perfect but it does produve a gallery of images. 2 links on mine - click the photo for the full sized image or the text to take you to the correct page for ordering.
You can insert virtually ANY html into an Ezpage or a define page EXCEPT THE PARTS IN RED BELOW:
<html>
<head>
<meta name='DESCRIPTION' CONTENT='QuiteQuirky photo gallery.'>
<meta name='KEYWORDS' CONTENT='photo, gallery, album, collection'>
<meta name='TITLE' CONTENT='MY PHOTO GALLERY'>
<link rel=stylesheet type='text/css' href='style2.css'>
<p style="font-family:tahoma">Click on any photograph for a larger image.</p>
</head>
<body>
<table cellpadding=2 cellspacing=2 border=0 align=center width=95%>
<tr valign=top align=center>
<td class=extra colspan=10>
<p>
<font size="5" face="arial" color="red">
Photo Gallery
</font>
</p>
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr valign=top align=center></tr>
<center>
<!----------------------------Gallery numbers 30 to 39--------------------------->
<tr><center>
<td width="10%"><a href='/images/Gall/Gallery_30.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_30.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_31.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_31.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_32.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_32.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/index.php?main_page=index&cPath=73">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_33.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_33.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/index.php?main_page=index&cPath=73">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_34.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_34.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_35.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_35.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_36.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_36.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_37.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_37.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_38.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_38.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
<td width="10%"><a href='/images/Gall/Gallery_39.jpg' target='_new' title='Personalised solid wood keepsake box'><img src='/images/Gall/Thumb/Gallert_39.jpg' width=100% border=1></a>"<br><a href="http://www.quitequirky.co.uk/cube-memory-boxes-c-65.html">Click here to Order</a></td>
</tr>
</table>
</body>
</html>
Re: Set up one page as Gallery Images
You would also do well to keep folder names in lower case.
/images/Gall/Thumb/ should be /images/gall/thumb/
Also... use DOUBLE QUOTES, because single quotes are very fussy in PHP.
title='Personalised solid wood keepsake box' should be title="Personalised solid wood keepsake box"