Installing Counter on Web Gallery Page(s)

Is it possible to install a 'counter' on iPhoto 08's new Web Gallery pages -if so how does one go about doing that?

You can create a simple iWeb page with a counter and with a widget link to the iPhoto gallery like you see in this test page.

Similar Messages

  • Web Gallery Pages Contain Garbage if Referencing External Scripts

    Like many, I've been customizing the very limited web gallery templates that ship with Aperture, but in addition the many annoyances mentioned elswhere (generation of non-compliant HTML, deletion of certain content, reformatting, altering the DOCTYPE, etc.) I've encountered a serious problem that makes rich customization a chore.
    Adding a script tag that references the Google Maps API causes Aperture to generate garbage in certain web gallery pages containing the tag.
    Placing
    <script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ANYKEY"></script>
    into the HEAD element (with any api key, including an invalid one) causes the element to be replaced with
    <SCRIPT type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ANYKEY"></SCRIPT><SCRIPT src="http://maps.google.com/mapfiles/maps2.70a.api.js" type="text/javascript"></SCRIPT><STYLE type="text/css" media="screen">.gmnoscreen{display:none}</STYLE><STYLE type="text/css" media="print">.gmnoprint{display:none}</STYLE>
    in most pages, and causes all of the second detail page (that's right, only the second page!) to be replaced with
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML><HEAD><STYLE type="text/css" media="screen">.gmnoscreen{display:none}</STYLE><STYLE type="text/css" media="print">.gmnoprint{display:none}</STYLE><STYLE type="text/css" media="screen">.gmnoscreen{display:none}</STYLE><STYLE type="text/css" media="print">.gmnoprint{display:none}</STYLE><STYLE type="text/css" media="screen">.gmnoscreen{display:none}</STYLE><STYLE type="text/css" media="print">.gmnoprint{display:none}</STYLE></HEAD></HTML>
    which results in a blank page.
    The styles gmnoscreen and gmnoprint come from Google, so apparently, the code that generates the web pages from the template actually reads the Google Map API file, triggering side effects that write into (and spoil) the page being generated.
    Sadly, I've found no clever workaround for this bug. Aperture strips out SSIs (along with all HTML comments) so conditioning inclusion of the script tag on being on the server won't work, and substituting a page (that's only) on the server that redirects to the Google URL fails (probably because of some limitation of the Google API). The only workaround I've found is to generate pages with a place holder for the bug-triggering script (actually just the src attribute will do) that is then replaced in the files generated on the server (which is easy enough to do with BBEdit).
    Note that inclusion of the offending script also causes some misbehavior in Aperture itself when previewing the pages.
    Has anyone had a similar experience?
    Any suggestions on a better way to prevent the script tag from being read by Aperture when it generates the pages?
    This would seem to be a frank bug in the Aperture web gallery page generation code, which should simply be copying all script tags to the server files unchanged -- certainly without traversing the src url and thus executing any code they contain.

    It's hard to imagine what the designers intended then. No interactive web pages? Almost any code included in or referenced by the templates can result in serious and hard to detect bugs.
    For example if I have an element containing
    ... id="someid" class="styleA"...and have
    document.getElementById('someid').className='styleB';somewhere in code that executes on load, then the Aperture-generated files will change the element to read
    ... id="someid" class="styleB"...
    This is clearly a bug that needs to be fixed. The underlying model of what Aperture is doing certainly is not meant to include execution of code in page templates as part of he page generation process. Such code is only intended to run when the page is built in the client's browser.
    I also don't buy the notion that this isn't really such a big problem since one can always use the features of a code editor like BBEdit to repair the problem in generated pages on the server. Such problems (as the above example illustrates) can be very hard to detect in the first place, and, more importantly that can't possibly be the model of "workflow" that Apple intends, since it means that every time I make photo related changes in Aperture (e.g. simply rearranging the photos in my gallery, or changing a caption) I have to run a development tool to fix the damage that such an update will do to the code in the generated web pages. They're hardly "templates" if their products need to be fixed every time they're used.

  • IPhoto '08 & editing a Web Gallery page

    Once iPhoto generates and uploads a Web Gallery, can the main page be edited??
    Specifically, in the upper left corner is a rectangle with "My Gallery". I would like to edit that text - "Bob's Gallery" or "Susan's Gallery", etc.

    D2C:
    Yes you can. Go to iPhoto's Preferences and in the Web Gallery section you can rename the gallery title.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Web Gallery misquoting picture count

    On my web gallery page I have 6 albums. Each album has a count underneath it of how many pictures are in that album. The numbers are totally wrong. For example my first album says there are 60 photos. There are really only 15 photos. Any idea what the problem is? In iphoto on the left when I scroll down to my web galleries it posts the correct number of photos in the gallery.

    Try running the latest iPhoto update, iPhoto 7.1 , just released today and see if that will fix the problem.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Possible to divide Web Gallery into multiple pages?

    I'm getting complaints that the web gallery page is taking too long to load. I've got 25 albums on the page. On my connection it takes about 30 seconds to load, but I have heard of it taking several minutes.
    I think that if I could limit each page to 10-12 albums, it would improve the speed.
    Thanks...
    Message was edited by: papasteveo

    papasteveo:
    Welcome to the Apple Discussions. There's no way to split it up with iPhoto. However, you can create an iWeb Albums page and add the web galleries there with the Web Widget tool and create a gallery page like this. On second thought that's not a whole lot better because that will take the view to the first gallery rather quickly but once they opt to go to the main gallery all will have to load again.
    It might work if you put a note on the iWeb page for the user to use the back arrow in the browser to return to the iWeb page and then select the next gallery. They may never have to enter the main gallery that way and suffer loading of all the individual galleries.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Web gallery / Flash Player question

    Not sure where to post this, so I'll start here.
    In CS3 web gallery, after I create the gallery and it goes to view it, the browser (Safari) open up to a blank page with the following statment / links:
    Please upgrade your Flash Player.Already have Flash Player? Click here if you have Flash Player 6 installed.
    This is very irritating. I have Flash Player 10 installed. I still get this window each and every time.
    I tried FireFox3 and got the same outcome. In fact the only way to get the Web gallery to play is to click the link "click here if you have Flash Player 6 installed", then the web gallery opens. The other link, of course takes me to the Adobe Flash Player upgrade site, but as I said, I already have Flash Player 10 installed.
    There must be something in the html code that presents this page first. Does anyone know how to remove / stop this page from opening.
    thanks guys & gals.
    JeffN

    The file "flashobject.js" is a Javascript file that, among other things, detects what version of Flash is on the browser and complains if it doesn't like the current version. The code that actually detects the version looks at the first character to the left of the "." in the version number and decides that that is the version. If you are running version 10 of Flash that code decides you are running version "0" and complains.
    You can fix this by going to the function "getFlashVersion()" in the "flashobject.js" file and replacing the following line:
         flashversion = y.charAt(y.indexOf('.')-1);
    with this line:
         flashversion = parseInt( y.substr( y.indexOf('.')-2,2) );
    You will have to do this with each copy of the Web Photo Gallery you are using as well as with the copies of "flashobject.js" that are buried in your program files for Photoshop (assuming you use Photoshop to create your Galleries as I do).
    WARNING: Use this fix at your own risk. I am not a Flash developer, I just know something about JavaScript. I did test this with a Flash 9 and a Flash 10 player but not as extensively as Adobe would if they released this patch. If it doesn't work for you that is your problem.
    Bob

  • How can I add linkable urls when making a web gallery

    I need linkable urls on a web gallery page - ie opening in the browser, preferably in a new window/tab.
    I thought I had it by manually editing:
    <contactEmail>url:http://mysite.co.uk</contactEmail>
    This *does* load Firefox, but the appended 'url:' is still there.
    The xml <sourceURL>http://mysite.co.uk</sourceURL> is not picked up by the code anywhere.
    Is there a hack to do this, or even a legitimate way!

    hello?? is there anybody out there?
    i am starting to wonder if i am asking my question about (an
    adobe product regarding Photoshop and flash issue) in the right
    platform.
    is there anybody here from ADOBE can be concerned about an
    Adobe user's question? am i too impatient that i have expected to
    hear for less than a day?
    is there anybody out there?

  • Variable weblinks in Flash web gallery title & caption fields

    I know that one can put a fixed URL as custom text into a LR flash web gallery title or caption fields and simply click on that field in a gallery and go to that website. However, that URL is fixed and shows up for all images in the gallery. I would like the ability to have that URL vary by image. That is, I want to be able to setup custom text for a title or caption gallery field that inserts an image's certain metadata value(s) within a URL string. E.g., be able to enter for these LR Flash web gallery fields custom text of the form:
    #A href="{title}">click here for foobar#click here for foobar#/A#
    where "#" = enclosing html brackets
    and where {title} is an image's LR title metadata (e.g., "http://www.foobar.com")
    Left clicking on such a custom field should take the browser to webpage whose URL is held in the current image's title metadata.
    This almost works now (LR v1.4) ... Such a custom text title displays correctly (i.e., just an underlined "click here for foobar"). And if I right click on it and choose "copy link", the correct URL from that image's metadata is in fact there. Unfortunately a left click just doesn't take the browser there.
    This capability would be useful for providing image info which either won't fit (e.g., extended caption info) or is technically not easy to place (e.g., a dynamic *.mov pano view) on an image's web gallery page.

    Just a comment about the web link in general -- Make sure your URL link actually works in the live /internet world. I have found that it doesn't. It looks great on your computer but when you actually build the web gallery, the link doesn't go anywhere.

  • Web Gallery created in Bridge not displaying first picture correctly on a Unix server

    Hi Guys, Am really stumped by a problem that has surfaced after moving from a Windows web hosting server to a Unix hosting platform. The Web Galleries created in both Bridge CS4 and CS6 display and operate as expected on the Windows server. However, having moved to a Unix hosting platform, I observe an odd behavior when going to the Web Gallery page. When the gallery loads, it displays the first image offset. This is always the top left hand quarter of the picture, offset to show in the bottom left hand corner, leaving the top left and right quarters and the bottom left quarter black (I use quarters to best describe the situation, though it really does seem as if the view port of the Gallery is indeed quartered for this first image).
    If I click on the second image in the series, it appears full size. The same happens if I click on the "Play" button. If I return to the first image manually, it displays full size.
    The phenomenon is apparent in Firefox 19.0.2, IE9, Opera and Chrome, all of the latest build.
    Can anyone throw some light on why this phenomenon is occurring and better still, suggest a cure?
    Grateful for all and any help anyone can give.
    Cheers, Daviddhg

    Hi Guys, This turned out to be a Unix server-side issue. Apparently the compression software being used by the ISP on this server was in some way incompatible. The ISP turned the compression off and the problem was cured.
    Cheers, Daviddhg

  • Web Gallery in CS4

    I note that the useful Web Gallery for is no longer in CS4. I think that for the Photographer's community Adobe Lr has taken a good portion of their attention and includes the Web Gallery function on it. But Customize the Web Gallery in Lr adding html code has been impossible due binary code. I created some very cool applications like shopping carts with e-commerce capabilities at http://kendallportraits.com for my Photography Studio in Miami using the Web Gallery Templates in CS3 and I really don't want to loose it in CS4.

    then install the old web gallery http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048

  • How to export a lightroom web gallery into dreamweaver

    I would like to know how to integrate a slideshow 'gallery flash lightroom" into a dreamweaver CC page which already exists
    I'm not an IT person. So if you have a simple way...
    I don't find any bottom "export into dreamweaver" in Lightroom...
    So if someone can tell me how to proceed.
    Thanks per advance.
    Florence

    Thanks for your answer.
    Yes. I can open the web gallery page into dreamweaver : I have nammed this page metaphoris.html
    But I don't want to use this page as a page in my web site.
    I would like to integrate the content (just the slideshow) into the body of an existing page
    nammed Artgallery.html
    If you know
    - which part of the code I have to copy and paste into my page (if it's the right thing to do?)
    - and if I have to relocate some files r(essources? images?)
    Thanks per advance ;-)
    Florence

  • Photoshop Web Gallery

    The Web Gallery pages created by Photoshop also creates text boxes for description, Title so on and so on. But when you add text to the individual pages, the descriptions and so on don't appear when posted to the web. What gives? Can anyone offer some guidelines? Tutorials perhaps?
    here's a link to the page in question: http://dragondezynz.com/2011%20New%20Year%20Party%20at%20Location%201980.htm
    I typed descriptions, titles in every page, posted to the website and reviewed. The first page was correctly titled but all pages after that had the same description and title as the first page.
    Any help would be appreciated.
    Thanks in advance
    Lance

    That's a good question. A Flash on top of a flash. The only
    thing I can think of at present is to divide your page - perhaps
    with a frame --- or flash top (new flash middle) and flash below. I
    realize that sounds very elementary but that's what I'd try first.
    The diffculty of course is you probably didn't know you
    wanted to put a flash file inside a totally flash site. The best I
    can do. Sorry
    Bill w

  • Captioning and Keywords NOT retained on download of photos from Web Gallery

    I noticed that the CAPTIONING information for photos on a web gallery ARE viewable while on the web gallery page(clicking on info), but are NOT included if you choose to download the photo. Not seen in the photo on download by viewing EXIF info, or "get info" from the Finder, nor available if I reimported the downloaded photo back into iPhoto 8.
    Am I missing something regarding the way to store information. I had uploaded a lot of photos with important information for family members downloading embedded in the captioning??
    BTW, the keywords ALSO were not downloaded or retained.

    Scott:
    When published to a web gallery that information is not added to the file but to the slideshow files. The only time that info is written to the files is upon export with the checkbox selected to add Title and Keywords and Comments.
    Even if the metadata is written to the files at the time they are imported into iPhoto, the files that get uploaded to the iDisk have that metadata stripped out of the file.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Iphoto not uploading to Web Gallery - all photos "pending"

    I added some more photos to my existing Web Gallery folders, plus created a new one by dragging them into the Web Gallery folders. However, they all appear as "pending" and are not appearing on the web. I've stopped / restarted Iphoto and my Macbook. I've tried removing and adding other photos to the galleries. I've moved the "com.apple.iPhoto.plist" and "com.apple.iPhoto" files to the desktop as suggested in another post. None of these have worked.

    Yes, and the icons next to the web gallery names alternate between an arrow that goes round in circles, something that looks like a pie-chart / clock, and one that looks like a wireless transmission icon. Hope you know what I mean.
    When I open the web gallery page nothing has changed. I even left it going overnight.

  • Web gallery sharing

    i have several albums i've created in my web gallery (of course i have a dot mac account). The problem i have is that when i want to share an album with someone i usually only want to share one specific album, but there always seems to be the "my gallery" button in the upper left hand corner of the album i share that allows people access to all my albums. any ideas? THANKS!
    frank

    open the galleries you do not want to share in iPhoto and click on teh settings icon (the gear at the bottom), make sure Advanced is selected and click on the "hide album on my web gallery page"
    LN
    Message was edited by: LarryHN

Maybe you are looking for

  • How to insert an username from the login page to the form page

    Hi friends, I created one database apex application in which it consist of three pages... 1)login page----->1 2)form page along with report page(in same page) i.e. i created a report region within a form region 3)form page(this page appears when i cl

  • Raid Performance and Rebuild Issues

    Rebuilding a Raid array What happens when you have a Raid array and one (or more) disk(s) fail? First let's consider the work-flow impact of using a Raid array or not. You may want to refresh your memory about Raids, by reading Adobe Forums: To RAID

  • Importing Problem with one specific CD

    I have previously imported this disc. It is disc 2 of a 2 disc set. I have no problem getting iTunes to recognize the other disc in the set. Now after clearing all previous info and files related to this CD I cannot get iTunes to import it. The iTune

  • HT5622 What is a pass code

    Trying to update by installing a notified item in settings. Being asked for a pass code. What is this ?

  • JTabbed Pane - shows wrong content

    Hello, I created a TabbedPane with three tab panels , the first two contain one textarea, the third panel contains tw otextarea's. When i run my application , the first panel is active but wen the content of the third panel, i have to click on anothe