Support Forums

Could this gallery work with 68C?

This is a discussion on Could this gallery work with 68C? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Ho, I came accross this just before: http://www.stunicholls.com/gallery/photo_click.html or http://www.stunicholls.com/gallery/simple.html they are both very similar and i beleive they work ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-17-2008, 09:15 AM   #1
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,077
Rep Power: 32
bowers01 is on a distinguished road
Default Could this gallery work with 68C?

Ho,
I came accross this just before:
http://www.stunicholls.com/gallery/photo_click.html or http://www.stunicholls.com/gallery/simple.html they are both very similar and i beleive they work the same way.
Its a nice little neat galley. Would it be possible to make this work in the viewimage page?
Any pointers on where i should start?
I think 68c really needs a gallery like this.
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 08-17-2008, 09:36 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,970
Rep Power: 73
seymourjames is a jewel in the rough
Default

Very nice - you should be able to do this. Download it and try. Include the css in your css style sheet, then add the js file (in fact when trying you could just put this in the viewlistings file if you wanted). The content of the html file is simple enough to put in viewlistings. You will just need change the path to the js file whereever you have put it or not if you include it in viewlistings, then between the <ul></ul> you need to include your loops and calls to the images - play around with what is already there. You will probably need to do the appropriate resizing of images. Let us know how you get on.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 08-17-2008, 01:06 PM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,970
Rep Power: 73
seymourjames is a jewel in the rough
Default

I have tried it and it nearly works with viewlistings2.tpl but I get stuck on this piece of code. It seems necessary to test if it is the first image to set it as the default. My smarty is not do good.

<div id="gallery">
<ul>
{html_table_adv loop=$data cols=$cols table_attr='width="100%"'}
{if it is the first time in the loop}
<li class="click"><i><img class="default" src="photos/[[image]]" width="254" height="218" border="0" alt="[[title]]" /></i></li>
{else}
<li><i><img src="photos/[[image]]" width="254" height="218" border="0" alt="[[title]]" /></i></li>
{/if}
{/html_table_adv}
</ul>
</div>
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Old 08-17-2008, 01:56 PM   #4
Member
 
Join Date: May 2008
Location: Madison, WI
Posts: 77
Rep Power: 12
jonahcoyote is on a distinguished road
Default

Wasn't something like this already done through this thread? http://www.68classifieds.com/forums/...ead.php?t=3665

It may not be exactly the same but pretty similar and using CSS you should be able to style the thumbnails and position them however you want.

Hope that helps
__________________
- Jonah


4.0.8 Developer
http://www.jonahcoyote.com
jonahcoyote is offline   Reply With Quote
Old 08-17-2008, 06:37 PM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,077
Rep Power: 32
bowers01 is on a distinguished road
Default

Hi,
Thanks for your replies. Is it going to be possible to put it in the viewimage.php popup?
Cheers
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Maffo's Location mod work with the US zip code module from 68 classifieds? fendter Technical Support 1 07-23-2008 07:32 AM
Freelance work igor81 Off Topic 2 05-05-2006 05:48 PM


All times are GMT -4. The time now is 02:07 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0