Responsive Photo Gallery

Hi guys, first time posting here. BC Support recommended I come to the forums to get some help!
I'm working on an existing site and turning it into a responsive site.
I've done a majority of the pages, except for the photo gallery page. The BC photo gallery module displays all photos as a table. Is there any way of changing the table into a series of divs?
Currently the photo gallery displays:
<table cellspacing="0" class="photogalleryTable">
  <tbody>
    <tr>
      <td class="photogalleryItem">
                <a onclick="myLightbox.start(this);return false;" rel="lightbox[9216]" href="/gallery/1nirebo-motel-front.jpg" title="">
                  <img src="/gallery/1nirebo-motel-front.jpg?Action=thumbnail&amp;Width=200&amp;Height=130&amp;A lgorithm=proportional&amp;USM=1" alt="" border="0">
        </a>
      </td>
    </tr>
  </tbody>
</table>
But I want to be able to do:
<div class="some_Container">
     <a href="#"><img src="blah"></a>
</div>
I've looked everywhere but can't find any relevant information to suit my problem! Maybe BC should enable this sort of feature in the photo gallery module tag if this feature isn't in there already.
Any help would be greatly appreciated!
Akira Dawson - Kapow Interactive

I figured it out! This may help you guys! I used some jquery and AJAX to achieve the result! I used fancybox as my plugin. I created a photo gallery as per normal, generated an XML file and used the following:
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/js/fancybox/source/jquery.fancybox.pack.js"></script>
<link type="text/css" rel="stylesheet" href="js/fancybox/source/jquery.fancybox.css" />
<script type="text/javascript">
j$ = jQuery.noConflict();
          j$(document).ready(function() {
                    j$.ajax({
                      type: "GET",
                      url: "/gallery/PhotoGallery.xml",
                      dataType: "xml",
                      success: function(xml) {
                              j$(xml).find('album').each(function(){
                                var i = 1;
                                var path = jQuery(this).attr('lgpath');
                                j$(this).find('img').each(function(){
                                        var src = jQuery(this).attr('src');
                                        var alt = jQuery(this).attr('alt');
                                        if(i == 1) {
                                                  var active = ' class="active"';
                                                  i++;
                                        } else var active ='';
                                        j$('<div class="gallery"><a href="' + path + src +'" class="fancybox"><img src="' + path + src + '" alt="' + alt + '" title="' + alt + '" /></a></div>').appendTo('#photoGallery');
                              j$(".fancybox").fancybox();
</script>
In my html, I have:
<div id="photoGallery">
</div>
now you can go into your CSS and style it as you wish, I hope this helps some people!

Similar Messages

  • Photo Gallery Module- is not responsive

    Hi there,
    I have been using the business catalyst for a few sites but I have noticed that the photo gallery module isn't responsive and when you look at the gallery on a phone it doesn't adjust to fit the screen. Is there anything that can be done about it?
    I asked the support guys but they said they can't help as it is an html / css question, however, I think if the responsive template comes with a photo module- it should actually be responsive.
    Thanks
    Emily

    Here's a few lines of CSS to get the modal behaving responsively: javascript - Making Business Catalyst Lightbox Responsive - Stack Overflow

  • Photo Gallery module- isn't responsive

    Hi there,
    I am trying to find out if someone can help me with the photo gallery module. I have used the photo gallery module in a responsice template but it isn't responsive when you look at it on a phone. I have asked for help from the support but they said it is a css / html question so they can't help. This seems a bit odd as the module has been provided in a responsive template- and should really work as responsive.
    If anyone could help or knows of the code that needs to be added in to make it work, that'd be really appreciated
    Many thanks
    Emily

    Here's a few lines of CSS to get the modal behaving responsively: javascript - Making Business Catalyst Lightbox Responsive - Stack Overflow

  • How to make the Photo Gallery module responsive?

    Hi,
    I am using Fondation and have a photo gallery on this page www.sunnysideinstantlawn.com.au/gallery made from the Photo Gallery Module in BC.  How do I make it responsive?
    I know there are alternatives out there using jquery but I would like to continue using the photo gallery module if possible.
    Any help would be greatly appreciated.
    Cheers,
    Tammy

    Hi BBowyer
    I really like Pretty Photo (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/) - how do I implement it on this page http://www.sheepconnectsa.com.au/gallery?
    I understand jquery but it gets abit confusing with implementing it on this page.  Would it be best for me to create a web app and do it?
    Cheers,
    Tammy

  • How to make existing Photo gallery module responsive?

    I could not find any tutorials how to change the existing photo gallery module so it would be responsive. Is there a solution already?

    The link I put above maybe?
    CSS - Every element has a default display type but every element can have its block level changed.
    A span is an inline element but you can turn it into a block level element. A table element is a table or table cell display type but you can turn it into block level. This is all CSS2/1 stuff so cross browser compatible (but if your doing media queries and responsive the old browsers are not considered anyway) and very straight forward.

  • The Web photo gallery does not work in Dreamweaver!

    I made a web photo gallery in photo shop using CS3.  The destination folder is the web site I'm using it in.  It links OK in the rollover image and will work if you click on it(swf_file) in the site file, but it will not show any pictures when I try to preview it with a browser or load it on the remote site. It loads the file but all the images are whited out.   This is very frustrating and it must be something simple...please advise...Thank You..Thagoodsport

    What kind of a response are you looking for with a post like that, seriously? Change this or that in your unprovided code? Use this or that gallery, which may be the gallery you're already using. We don't know because you haven't mention specifics, provided any code, or any other relevant information to produce a helpful response. All you've said is you click a link and it's white. Kudos.
    We're not mind readers and no one is looking over your shoulder watching what you're doing. Get it together... and when you do, post a link so we can see what you're talking about. jeez.

  • In windows live photo gallery it says an error is preventing the photo or video from being displayed

    in windows live photo gallery it keeps saying an error is preventing the photo or video from being displayed

    Hi Frank.
    Thanks for the response.
    Agreed, the pertinent question is why can't my colleague edit the JPG exported by Aperture. It's probably also worth pointing out, the same problem occurs with JPGs exported from iPhoto.
    The Windows software usually plays nicely with JPGs by all acounts, just not the ones I send - which I do via eMail or my public space on Mobile Me incidently.
    So, another key question is: all settings being equal (color profile, quality, etc.) are the JPGs as produced by iPhoto and Aperture indistinguishable from those produced by other apps on other platforms - i.e. does the use of JPG enforce a common standard?
    If that is the case, I suspect ours might be a permissions issue.
    According to the Microsoft support page on editing in Windows Live Photo Gallery, the inability to edit a picture is commonly caused by unsupported file type, or read-only attribute set on the file.
    Unfortunately, he and I are not in the same place, and he's not particularly au-fait with this type of problem solving. Hence, before involving him, I'd like to know:
    1. it's possible (i.e. someone else does it), and,
    2. what's involved (at my end and/or his).
    Thanks again,
    PB

  • Photo Gallery w/ Images adjusting size based on Browser size.

    I'm new to web design but I'm trying to create a photo gallery with images that dynamically size based on the size of the browser window. Similar to this http://pageduke.com/#/Residential/Colonial%20Revival-Nashville1/1. I know th is a flsh site, but is there a way yo do it in HTML in Dreamweaver, maybe using Spry. I don't know Jquery, but is it possible that way.
    Thanks

    Nancy,
    Woo is not a gallery. It's just a slider - a panel widget, which should
    be adaptive/responsive by default. The problem is that for years, the
    typical jQuery plugin writer simply copies stuff done by others so
    someone finally realized you don't have to fix a width and a height if
    you know how to write a stub script
    Galleries are totally different. To do a responsive gallery is not so
    easy and the only ones that come remotely close - using open source
    scripts - do require an initial width. They will not scale both up and down.
    I gusess it depends on what the original poster wants and/or cares about
    in terms of efficiencies and functionality.
    [External commercial link removed]
    Message was edited by: Sudarshan Thiagarajan. Please refrain from posting external links advertising/ promoting products & services.

  • Web Photo Gallery in CS4

    I know the Web Photo Gallery has been removed from PS CS4 and put into Bridge. However, I created a few templates I would like to keep. Is there any way besides using CS3 that I might do this in Bridge? Is there going to be a way in Bridge to create additional web modules?

    Cindy:
    If you dig really deeply (10 levels down!) in your Library folder you will find the templates for the new Bridge Galleries. You can also use the Lightroom templates in Bridge CS4.
    Library/Applications Support/Adobe/Bridge CS4 Extensions/Adobe output Module/mediagallery/resources/templates/07lightroomgallery/styles
    I duplicated one of the enclosed Styles and dragged it to the Desktop;
    opened it in GoLive (because I like the way that GL displays html code although any text editor will do);
    edited the code to give me the background colors, text and image frames that I wanted; and Saved the file with a new but similar name (starting with next two digits in the series and with the .xml suffix) in the same location as the original.
    And it works!
    You may be able to put your existing templates in the appropriate areas.
    Or, you could install the Optional Plug-ins which let you use the Photoshop/File/Automate
    web galleries and put your old templates wherever you kept them for CS3.
    WARNING:
    You should be perfectly safe doing this but if you screw-up CS4 and have to re-install it I accept no responsibility!!!!!!!

  • Cannot see web photo gallery in design in dreamweaver cs3

    have made web photo gallery in PS- opens in browser- opens in
    dreamweaver cs3- I can see the code all OK can view again in
    browser--But I cannot see the thumbnails or tables-yet I know its
    there hidden?--How can I make it all visible

    Cindy:
    If you dig really deeply (10 levels down!) in your Library folder you will find the templates for the new Bridge Galleries. You can also use the Lightroom templates in Bridge CS4.
    Library/Applications Support/Adobe/Bridge CS4 Extensions/Adobe output Module/mediagallery/resources/templates/07lightroomgallery/styles
    I duplicated one of the enclosed Styles and dragged it to the Desktop;
    opened it in GoLive (because I like the way that GL displays html code although any text editor will do);
    edited the code to give me the background colors, text and image frames that I wanted; and Saved the file with a new but similar name (starting with next two digits in the series and with the .xml suffix) in the same location as the original.
    And it works!
    You may be able to put your existing templates in the appropriate areas.
    Or, you could install the Optional Plug-ins which let you use the Photoshop/File/Automate
    web galleries and put your old templates wherever you kept them for CS3.
    WARNING:
    You should be perfectly safe doing this but if you screw-up CS4 and have to re-install it I accept no responsibility!!!!!!!

  • IWeb photo gallery does not work in IE

    Does anyone know why iWeb photo gallery does not work in Internet Explorer but does work in Safari, Chrome & Firefox?

    What kind of a response are you looking for with a post like that, seriously? Change this or that in your unprovided code? Use this or that gallery, which may be the gallery you're already using. We don't know because you haven't mention specifics, provided any code, or any other relevant information to produce a helpful response. All you've said is you click a link and it's white. Kudos.
    We're not mind readers and no one is looking over your shoulder watching what you're doing. Get it together... and when you do, post a link so we can see what you're talking about. jeez.

  • Zooming image from mouse position(like in  windows vista photo gallery)

    hello all;
    here's my situation, hope someone can help..
    i wanna Zoom an image, which zoom from my mouse position
    like in windows photo gallery in windows vista
    so i do this..
    g2.translate(iMoux,iMouy);       
            g2.scale(zoom, zoom);       
            g2.translate(-iMoux,-iMouy);       
            g.drawImage(icon.getImage(), iSposx, iSposx, d.width/2-iValue, d.height-iBawah, null);
            g.drawImage(icon2.getImage(), d.width/2, iSposy, d.width/2-iValue, d.height-iBawah, null);the problem come when i move my mouse to the different location (like from top right to bottom left)
    the zoom image displayed in the screen like jump from latest location to new location
    anybody can help me...a clue how to do that?
    thx appreciate your help guys
    mao
    Edited by: KingMao on 31 Mei 08 14:27

    Hi Frank.
    Thanks for the response.
    Agreed, the pertinent question is why can't my colleague edit the JPG exported by Aperture. It's probably also worth pointing out, the same problem occurs with JPGs exported from iPhoto.
    The Windows software usually plays nicely with JPGs by all acounts, just not the ones I send - which I do via eMail or my public space on Mobile Me incidently.
    So, another key question is: all settings being equal (color profile, quality, etc.) are the JPGs as produced by iPhoto and Aperture indistinguishable from those produced by other apps on other platforms - i.e. does the use of JPG enforce a common standard?
    If that is the case, I suspect ours might be a permissions issue.
    According to the Microsoft support page on editing in Windows Live Photo Gallery, the inability to edit a picture is commonly caused by unsupported file type, or read-only attribute set on the file.
    Unfortunately, he and I are not in the same place, and he's not particularly au-fait with this type of problem solving. Hence, before involving him, I'd like to know:
    1. it's possible (i.e. someone else does it), and,
    2. what's involved (at my end and/or his).
    Thanks again,
    PB

  • Spry Photo Gallery "Controls"

    Spry Photo Gallery “Controls”
    Hi Don Booth, David Powers, Kinblas et al,
    Thank you all for your commitment, and  I hope Spry isnt dead?! 
    I am years behind  but I antē d up for the CS4 Master Collection at the beginning of the year and have been plowing through the many written and tv.adobe tutorials on the various programs.  Some confuse so it was a pleasure to come to the straight forward instructions in Don Booth’s Photo Gallery that worked first time!
    Forgive me however but although I have spent the last week perusing the forums (getting to know you all so well!) I can’t find any thread to help me to correctly add the “transport” “controls” div’s and bind them so that I get a better response to next/play/pause. I did find one detailing how to de activate the SlideShow Navigation - by deleting the container!!  V1 Oct ’07.
    As it seems to me there is nothing out there (in the Forum(s)) I assume this must be a simple case of ignorance on my part, and,- I feel stupid - I must be lagging way behind - for which I humbly apologize and ask for your help, thank you in anticipation.
    http://www.portofinobayside.com/Gallery.html#   (simpleTest - your images)
    Tunedup

    I've set up the photo gallery demo -china,paris,egypt- and
    made a swap of a couple of my photos from in Dreamweaver's property
    box src for thumbs, and link for the large pic. It works in Safari
    and Opera but not in firefox and I don't know about IE as I'm on a
    MAC and not that for into it yet.Is there something to look for in
    the code? It shows no browser issues when I test for compatability?
    I'd really like to use the xml version but I have tried and had no
    luck except in Safari.

  • Help with scrolling photo gallery

    I'm using the code below to for a scrolling photo gallery. I got this from another forum on Adobe. My problem is that I can't get my images to upload. I uploaded this for an image but it's not working:
    <img src="images/baca_poster_small.jpg" data-cycle-title="image1">
    Can someone please help me with getting my pictures to work in this?
    Thanks!
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 document with Cycle2</title>
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Plugin Script-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    .cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0 auto;
    width:45%; /**adjust width as required**/
    .cycle-slideshow img {width: 100%;}
    </style>
    </head>
    <body>
    <h1><a href="http://www.malsup.com/jquery/cycle2/">jQuery Cycle 2</a> Responsive Slideshow</h1>
    <!--begin slideshow-->
    <div class="cycle-slideshow"
        data-cycle-pause-on-hover="true"
        data-cycle-speed="700"
    >
    <!--your images go here-->
    <img src="http://malsup.github.com/images/beach1.jpg" data-cycle-title="beach1">
    <img src="http://malsup.github.com/images/beach2.jpg" data-cycle-title="beach2">
    <img src="http://malsup.github.com/images/beach3.jpg" data-cycle-title="beach3">
    <img src="http://malsup.github.com/images/beach4.jpg" data-cycle-title="beach4">
    <img src="http://malsup.github.com/images/beach9.jpg" data-cycle-title="beach9">
    <!--end slideshow-->
    </div>
    </body>
    </html>

    Is this supposed to be a WordPress site?  None of these images are found on the server.  Those folders don't exist either.
    <img class="first" src="mosspictures/DSCN0038.JPG" alt="">
       <img src="mosspictures/DSCN0040.JPG" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-3.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-4.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-5.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-6.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-1.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-2.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-3.jpg" alt="">
       <img src="wordpress/wp-content/themes/MarcMossTheme/image-4.jpg" alt="">
    Nancy O.

  • Adding a photo gallery to a blog page?

    I see the last queries about being able to do this are from 2006.  I'm wondering if it is any easier now.  I'm creating a website for a film series project.  I used a 'blog' template so I could easily manage about 20 separate films (without having scores of pages to deal with).  Right now each of those 'blog' pages has a large number of free floating photos (shots from the film).  They take too long to load.  I'm wondering if I could create a photo gallery instead, ON the blog entry page, that would contain the pics, and allow for fast loads?
    Just wondering how one might create a photo gallery on a 'blog' entry page.
    Ben

    Having looked at your site, I would say that you layout is very artistic and would be completely ruined by using a photos template.
    DPI doesn't realy come into it as this is used for print. iWeb does have image optimization but its better to turn it off and reduce the image to the dimensions (in px) that it will appear on the web page before dragging it into the app.
    If you want to maximise the SEO and make the pages more interesting for us humans, I would add descriptive captions to the images and put them in the spaces between the staggered image layout.
    If you are comtemplating designing for mobile devices, you need to use every trick in the book to to reduce file sizes and cut content to the bone.
    I have been using responsive designs for quite a while now and learned a lot of hard lessons along the way on what works and what doesn't on mobile devices. Some more examples HERE.
    iPads are big enough for a traditional website to work on them as long as you pay attention to making the links and other user controls finger sized. I did figure out a way to make an iPhone compatible site using iWeb if you are interested...
    http://www.iwebformusicians.com/iWeb/Mobile-iWeb.html
    I must admit that I detest Wordpress although there are some responsive desgns available now. I did a test with one of the free ones but its a total pain and there doesn't appear to be any plugins for HTML5, responsive media players. I had to figure this out all on my own. If you click the Blog button on this page you should get there.

Maybe you are looking for

  • Why can I only sync SD version of movie to iPhone 4?

    A few days ago, I bought The Lion King (HD) from the iTunes store app on iPhone 4.  I was almost certain I had enough space, but when I checked my phone the next morning, the download stopped prematurely due to not having enough space.  So I had to t

  • Livecycle Business Activity Monitoring - realtime

    hi I installed BAM on my dev server following the documentation ADOBE.and till now everything is OK Once connected to the dashboard I can see all processes with a few metrics already. but when  I try to invoke some process to see if I have some new i

  • 720x480 != 640x480... What the **** is going on?

    I've got a 720x486 non-compressed QT that I want to translate to a 720x480 DV QT. In Compressor (3.05), Cropping is set to: 4x3 1.33x1 and Dimensions: 720x480 and NTSC 601/DV. Compression is set to DV/NTSC. When I open the newly created QT in Quickti

  • Youtube is not allowing playback I keep receiving an "error try agin later message"

    My youtube videos played fin until a few days ago, now when attempting to play youtube videos I recieved this message "error try again later" my browser is Safari 6.0.5 and I have an Imac. Can anyone please advise how I can get youtube to play. Thank

  • My keys keep disappearing??

    In the past couple of weeks on my iPod 5th gen, my keys have randomly started going blank (the black disappears from the white background). It's not just my typing keyboard- in fact, my emojis will disappear first, followed by my keys, punctuation, a