Photo Gallery- next/prev links not displaying images

17 posts by 2 authors in: Forums > CMS Builder
Last Post: September 22, 2011   (RSS)

By gkornbluth - September 13, 2011

I've been using a really simple, flexible program called Slideshow© - http://www.electricprism.com/aeron/
Slideshow is open-source with an MIT-style license and easy to integrate with CMSB.

You might want to have a look

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Photo Gallery- next/prev links not displaying images

By csdesign - September 15, 2011

Thanks for the link! It looks somewhat similar in appearance to the one I was going to use:

http://www.scriptiny.com/2008/12/javascript-slideshow/

You've been a great help. :) Thanks! Tina

Re: [gkornbluth] Photo Gallery- next/prev links not displaying images

By csdesign - September 21, 2011

Jerry,

I was going to try using both of these slideshows but I was starting with the one I already know and I've ran into what I hope is just a newbie mistake. I can get the thumbnails for the slideshow to appear and I can get the top slideshow to recognize the images (in that if you click the right/left arrows, it highlights the thumbnail image that should be showing in larger dimension above it)

This slideshow uses a unordered list as it's base so I put the image tags within that hoping to repeat the list tag. It's generated from a single record.

Here's what I have:

<ul id="slideshow">
<?php foreach ($homepageRecord['upload_images'] as $upload): ?>
<?php if ($upload['hasThumbnail']): ?>
<li>
<img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" />
<span><?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?></span>
<h3>Hummingbird</h3>
<p>Hummingbird</p>
</li>
<?php endif ?>
<?php endforeach ?>
</ul>

and this is what it looks like:
http://www.billdraker.com/cmsAdmin/index.php

thank you!!! Tina

Re: [gkornbluth] Photo Gallery- next/prev links not displaying images

By csdesign - September 21, 2011

well how awesome are you?!! It worked perfect. I'll go back and add in the width/height but those are controlled by css so not sure if I need them.

2008 can seem pretty young in some terms... babies, cars, wine, ha... Good point. the guy who made that one also has some updated slideshows, I just liked the way this one worked. However. I think the one you suggested has a lot more options. I have another photographer's site coming up. I think I'll do his with that one.

thanks again for your help. You saved me a ton of time beating it with a rock.

By gkornbluth - September 21, 2011

Such kind words.

Thanks.

If you need the heights and widths you can try changing the characters to html entities. IE

< = &lt;
> = &gt;
" = &quot;

here's a link from my CMSB Cookbook http://wwww.thecmsbcookbook.com with lots more:

http://www.digitalmediaminute.com/reference/entity/index.php

Glad it worked,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Photo Gallery- next/prev links not displaying images

By csdesign - September 22, 2011

oh great! I'll try those just to make sure it's covered. :)