cataloger ghost item images

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Tiramisu

cataloger ghost item images

Post by Tiramisu »

Hi,

In the Cataloger Preferences Manager, you can change the "Maximum number of views for each Items".
The problem is when you, for example, you set the num at 10 and you don't have the same number of image for each item, the module will create "ghost" images.
At this point there's nothing to worry about because these images don't appear on the page.

But, I've used the lightbox 2 to overlay images in full size and at the end of the slideshow, it shows some inappropriate "ghost images"...  :-[

How can I change / fix that ???
Thanks a lot for any help!
sirphuzz
Forum Members
Forum Members
Posts: 18
Joined: Thu Aug 07, 2008 1:07 pm

Re: cataloger ghost item images

Post by sirphuzz »

How did you get lightbox to work with the item image? I've tried the whole day, and I can't figure out how to do it!

What extra code do you put in the item css template?
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: cataloger ghost item images

Post by christiaans »

You cóuld fix this by doing the following:

{if isset($image_1_url)}

{/if}

For every image number (so 1-10 in your case).
That should ONLY display the images that are actually set.

If it doesn't work, give me a shout and I'll look into it some more.
peterbra
Forum Members
Forum Members
Posts: 22
Joined: Fri Jul 06, 2007 1:47 pm

Re: cataloger ghost item images

Post by peterbra »

THANKS A LOT MATE ! - nice solution  ;D
Locked

Return to “Layout and Design (CSS & HTML)”