Support Forums

Picture doubles in Lightbox

This is a discussion on Picture doubles in Lightbox within the Technical Support forums, part of the Technical Support Forums category; Hello If there is only one picture attached to the ad, the big foto is shown double (twice) in the ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 10-02-2009, 03:59 AM   #1
Senior Member
 
pat01's Avatar
 
Join Date: Jun 2006
Location: Switzerland
Posts: 102
Rep Power: 17
pat01 is on a distinguished road
Default [ SOLVED ] Picture doubles in Lightbox

Hello

If there is only one picture attached to the ad, the big foto is shown double (twice) in the Lightbox after the thumbnail picture is klicked.

This happens in following broswers (all Windows Vista):

IExplorer 7
Google Chrome 3.0.195
Safari 3.2.1



It's fine with these browsers:
Firefox 3.5.2
Opera 9.64

If there are two or more pictures in the ad it's OK.


URL to the website


Any idea what's wrong?

Thank you very much!

Regards
Patrick
__________________
v4.1.6 dev, Default Template
I say: Mooooh...!

Last edited by pat01; 10-02-2009 at 11:04 AM.
pat01 is offline  
Old 10-02-2009, 05:07 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 929
Rep Power: 25
bowers01 is on a distinguished road
Default

have you modified the viewlisting template? if so try putting the default 68c one back, does it do it then?
__________________
Nick Bowers
68c v4.09 Developer Custom Template
bowers01 is offline  
Old 10-02-2009, 05:28 AM   #3
Senior Member
 
pat01's Avatar
 
Join Date: Jun 2006
Location: Switzerland
Posts: 102
Rep Power: 17
pat01 is on a distinguished road
Default

The only thing I did to the viewlisting.tpl was to add the "Ad Reporting Module":

PHP Code:
<a href="modules.php?mod=ad_reporting&id={$view}">{$smarty.const.LANG_REPORTLISTING}</a
I just noticed, that I don't have the "double picture" problem on my offline copy of the website.

Yesterday I had another strange error (featured ads were not displayed), also just on the live website, but not on the offline copy. The ticket support of 68C gave me the adivise to delete the plugins folder and upload a fresh copy. That did solve the problem.

I suppose that I have a similar problem now as well. Maybe there is an old, not necessary file on the server. But I don't know where the Lightbox gets generated from. Maybe I should delete another folder an upload a fresh copy? But which one?


Patrick


EDIT: Problem partly solved!

I did delete the folder "javascript" and upload it again. For some reasons inside this directory I had a few oder folders, such as TinyMCE, dtree and others. No idea why...
Obviously they did disturb the Scripts which are used for the Lightbox.

Now the double picture problem comes when an ad has two or more pictures, but not if the ad has only one.

After that I did delete all folders except the templates folder and I did upload the software again. The pictures are still double. And I can reproduce the problem on my offline installation as well now.

Next I did switch back to the 68C default template. The problem has gone...
So, the error must be in one of the template files. I'll check them next. Good I did not modify all of them...
__________________
v4.1.6 dev, Default Template
I say: Mooooh...!

Last edited by pat01; 10-02-2009 at 06:14 AM.
pat01 is offline  
Old 10-02-2009, 06:11 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 1,940
Rep Power: 47
seymourjames has a spectacular aura about
Default

The first thing I would recommend is to upgrade to 4.1.6 . Not only does it have a number of bugs resolved but just in that process, you are likely to solve your double images problem. What I would do is actually upload the whole of 4.1.6 again (every file because FTP works less well than people often think - file corruption is something I see everyday doing support). However, only run the upgrade (DO NOT DO A FRESH INSTALL when given the choice on the setup screen).

You might also like to consider our templatecodes.com system. Running with that means you benefit from a whole bunch of people and ourselves who are regularly working on these type of issues as they arise. However, I have to say, they come far and few between nowadays. The other advantages are that we stay on top of browser compatibility issues.
__________________
TemplateCodes.com for 68 Classifieds - Magento for Online Stores
seymourjames is offline  
Old 10-02-2009, 06:43 AM   #5
Senior Member
 
pat01's Avatar
 
Join Date: Jun 2006
Location: Switzerland
Posts: 102
Rep Power: 17
pat01 is on a distinguished road
Default

Hi David

I use v4.1.6, I just did update my signature. I forgot to do so before, sorry for that.

Meanwhile I did replace my offline template with another copy. I don't have the problem on my offline installation anymore. After that, I did delete the template folder online and upload the working copy. Unfortunately the problem still is there on my online website.
I did clear the browser cache regurarly, so that can't be the problem.

Thank you for your tips and hints. I guess I'll try to upload the template folder again, using another FTP software....

Patrick
__________________
v4.1.6 dev, Default Template
I say: Mooooh...!
pat01 is offline  
Old 10-02-2009, 10:53 AM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,249
Rep Power: 123
Eric Barnes is a jewel in the rough
Default

This was reported and fixed with v4.1.5. You can see the fix here:
http://www.68classifieds.com/forums/issue-366/
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is online now  
Old 10-02-2009, 11:04 AM   #7
Senior Member
 
pat01's Avatar
 
Join Date: Jun 2006
Location: Switzerland
Posts: 102
Rep Power: 17
pat01 is on a distinguished road
Default

Great, thank you very much!

Patrick
__________________
v4.1.6 dev, Default Template
I say: Mooooh...!
pat01 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lightbox seeing first image twice! bowers01 Modules / Plugins / Modifications 4 08-22-2008 10:00 PM
add to favorites image doubles fendter Technical Support 2 07-17-2008 12:39 PM
lightbox kama Modules / Plugins / Modifications 1 05-21-2008 11:13 AM
LightBox for viewlisting,tpl.php LittleRascal v3.1 Questions & Support 2 03-03-2008 01:56 AM
Lightbox for multiple images? macagent v3.1 Suggestions and Feedback 4 06-21-2006 06:07 PM


All times are GMT -4. The time now is 12:20 PM.


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