Support Forums

Photo slide show problem

This is a discussion on Photo slide show problem within the Templates, HTML, CSS, and Design Help forums, part of the General category; Can anyone tell me why the main photo of the photo slide show is not centred and how do I ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 11-18-2009, 12:09 AM   #1
Customer
 
Join Date: Nov 2009
Posts: 44
Rep Power: 8
ccs is on a distinguished road
Default Photo slide show problem

Can anyone tell me why the main photo of the photo slide show is not centred and how do I fix it please
ccs is offline   Reply With Quote
Old 11-18-2009, 02:14 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by ccs
Can anyone tell me why the main photo of the photo slide show is not centred and how do I fix it please
Hi,
What slide show? what template are you using?
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 11-18-2009, 07:37 AM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I am guessing you are using TemplateCodes. It is not centered because that is how it was designed. However if you prefer it centered then find this line in your viewlisting.tpl file.

<img src="{$smarty.const.URL}/photos/{$image.image}" />


and replace with

<div align="center"> <img src="{$smarty.const.URL}/photos/{$image.image}" /> </div>

the other parameters are at the top of that file to change widths and heights of the gallery.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 11-19-2009, 10:18 PM   #4
Customer
 
Join Date: Nov 2009
Posts: 44
Rep Power: 8
ccs is on a distinguished road
Default thanks fixed that but wait there is more

I have noticed that there is a shaded area at bottom of picture. Should this be there it looks a bit untidy can I get rid of it
http://www.customcarsales.com.au/vie...ng.php?view=10
ccs is offline   Reply With Quote
Old 11-20-2009, 12:20 AM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by ccs
I have noticed that there is a shaded area at bottom of picture. Should this be there it looks a bit untidy can I get rid of it
Custom Car Sales Farm Find falcon
Open viewlisting.tpl and remove the following
Code:
    <div class="panel-overlay">
      <h2>{$image.title}</h2>
    </div>
What its there for is actualy when you place an ad you have the option of putting in a photo title, so when you view a photo with a title it will display there and change as you change the picture. Give it a shot i think it looks much better there if there is actually a title.

EDIT: Also i notice that you have thumbnails set to 80x60(or smaller) so maybe you should change the setting in viewlisting, you have
Code:
frame_height: 80,
I suggest changing it to
Code:
frame_height: 60,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template

Last edited by bowers01; 11-20-2009 at 12:25 AM.
bowers01 is offline   Reply With Quote
Old 11-20-2009, 03:17 AM   #6
Customer
 
Join Date: Nov 2009
Posts: 44
Rep Power: 8
ccs is on a distinguished road
Default Thanks

I have to say this is the first time I have done this stuff you guys make it so much easier Thanks
ccs is offline   Reply With Quote
Old 11-20-2009, 03:50 AM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Thanks Nick as it was you that first brought this really superb gallery viewer to our attention.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 11-20-2009, 09:22 AM   #8
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
Thanks Nick as it was you that first brought this really superb gallery viewer to our attention.
No worries at all.
If you replace the code with
Code:
   {if $image.title == ""}{else} <div class="panel-overlay">
      <h2>{$image.title}</h2>
    </div>
    {/if}
then if there is no title for the images it wont display. Only thing is if one image has a title it will display it for all images within that ad, it is very late and i am going to bed, but i will think more about it in the morning.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 11-20-2009, 09:35 AM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

I think you can simply reduce the height of it in the options presented at the top of gallery code in the viewlisting template.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo and listings slide show seymourjames Modules / Plugins / Modifications 13 02-27-2009 05:00 PM
New Slide Show Script bowers01 Modules / Plugins / Modifications 0 08-22-2008 09:10 AM
New photo gallery jadove Modules / Plugins / Modifications 1 04-06-2008 08:29 AM
Display full size photo of first photo on viewlisting.tpl cwp Technical Support 2 02-23-2008 09:49 PM


All times are GMT -4. The time now is 04:25 AM.


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