CODE FOR GALLERY PHOTOS
Hello,
I am hoping someone can help me. I have a template that I am
trying to set up where I have small thumbnail photos on the bottom
of the page, and when you click on each thumbnail, it brings up a
larger photo on the same page. Here is a partial code that I have:
<a href="#"><img src="promo_images/promo1small.jpg"
alt="" width="50" height="50" /></a>
I am confused as to what I put under the <a href= part.
What type of link do I type in to make it stay on the same page and
come up with the larger photo I have created.
Thanks!
Tracy
Hi Kin!
Can I use XSL in your example?
I have tryed
<%
'Load XML
set xml = Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
xml.async = false
xml.load(Server.MapPath("bilder.xml"))
'Load XSL
set xsl = Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
xsl.async = false
xsl.load(Server.MapPath("xmlstylesheet.xsl"))
'Transform file
Response.Write(xml.transformNode(xsl))
%>
and the result is in "
http://www.sockenbilder.se/forsa3/xmltransform.asp".
I have done a static sort on "kvinnor" as category
("motivkategori") and in Firefox it looks ok but in IE6 an error.
My task is to feed my Spry file
www.sockenbilder.se/forsa3/visning2.asp with that sorted xml.
The next step is from Spry change what is sorted in the
XLS-file (www.sockenbilder.se/forsa3/xmlstylesheet.xsl). I hope XSL
on the server is a fast way to split up the large file bilder.xml
per "motivkategori". That file is our "database" and we have
choosed xml for human readable and long time lasting.
Jan-Åke
Similar Messages
-
Is there a promo code for i photo books?
is there a promo code for i photo books?
Haven't seen one of those for several years.
-
Verification Code for "Sharing" photos in PhotoShop Elements 8
How do I obtain my original verification code for "Sharing" photos in PhotoShop Elements 8? My e-mail address has changed.
In Organizer, go to preferences (Under Edit menu)
Then go to sharing under sharing you can change the email address to your latest email address, click ok and then send the email verification cod again.
Thanks
Harshit yadav -
Any one has a coupon code for the photo books
anyone has a coupon code for the apple photo book? THANKS
Thanks that helped out a lot; I combined that program with the serial example. It works well, but it seems to want to update very frequently, as I am hearing relays tripping, but if I set the number I want and hit stop it goes there and will stop at that command. Is there a way to just have it send the data and then just have it leave the serial device alone unless you change the angle. As in only send the data once, but not have to re hit run.
Attachments:
GS-232 Controler.vi 37 KB -
Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?
Hi,
I am using Business Catalyst and Dreamweaver to create a trial site.
I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
Kind Regards, Matt.
http://craftime-bs6.businesscatalyst.com/Alyssa,
Have you tried putting this rule back as it was originally:
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto; /*was 9px*/
color: #EF9CCF;
background-color: #FFF;
That is, changing your 9px back to auto.
And giving us a link (as you did) is much better than printing out the code for us! Thanks!
Beth -
Where do I put the "autoplay" code in my photo gallery?
I have a photo gallery on http://victorylcms.org/photos.html. I'm trying to add "autoplay" to it.
I got the gallery from http://galleria.aino.se/ and here is what it says to add http://galleria.aino.se/docs/1.2/options/autoplay/, but I can't seem to figure out where exactly to put it in my code to make it work properly. Thanks for any help!
autoplay
type: Boolean or Number
default: false
If true, this will start playing the slideshow with 5 seconds interval (default). If you set this to any number, f.ex 4000, it will start playing with that interval (in milliseconds)
Example:
$("#gallery").galleria({
autoplay: 7000 // will move forward every 7 secondsI got the gallery from http://galleria.aino.se/
There's a support forum for that gallery
http://getsatisfaction.com/galleria/
here is what it says to add http://galleria.aino.se/docs/1.2/options/autoplay/, but I can't seem to figure out where exactly to put it in my code to make it work properly. Thanks for any help!
autoplay
type: Boolean or Number
default: false
If true, this will start playing the slideshow with 5 seconds interval (default). If you set this to any number, f.ex 4000, it will start playing with that interval (in milliseconds)
Example:
$("#gallery").galleria({
autoplay: 7000 // will move forward every 7 seconds
Look for similar code in your page
e.g. line 182
<!--begin init code for the galleria pics slideshow-->
<script>
$('#gallery').galleria({
autoplay: 7000 // will move forward every 7 seconds
width:640,
height:480
swfobject.registerObject("FlashID");
</script>
<!--end init code for the galleria pics slideshow--> -
Unique Meta Title Tags for each Photo HTML Gallery
I am using Lightroom 3.2 I would like to hack the HTML Web Gallery Engine to create unique title meta tags for each photo when it is selected for better search engine performance. I have been trying to mess around with the code and have not figured out what code I need to change. Does any one know what file I would need to change and what I would need to change it to enable a unique title tag based on the title of the actual photo in the HTML Web Galleries? Thanks for any help. I'm not a hard core coder by any means. There has to be someone out there that knows their LR very well.
Best regards,
Matt GeorgeSean,
I tried switching <title>$metadata.siteTitle.value</title> to <title>$metadata.image.title</title> in the head.html file, but that just gave me a big error in LR when previewing the gallery.
I tried switching metadata.siteTitle.value to image.metadata.title in galleryInfo.lrweb file, but that did not work either.
I figure there must be a basic way to implement <title>Unique Photo Metadata Title</title> for each large photo html page in the Lightroom galleries, but I have not been able to figure it out. I assume I'm close, but since I'm not a coder like you I thought I would ask you. Any thoughts or help would be greatly appreciated. Thanks.
Best regards,
Matt George -
Setting color codes for more than one photo at a time
Is there any way to set color codes for more than one photo at a time?
Hi John,
I will look at keywords. My issue is speed. Right now I am culling and editing an event shoot that spanned a week with 35 separate events and more than 5000 images. So I use the fastest most convenient method I can and it still takes a long time to have a completed and final shoot. On this shoot I will end up with a final set of around 1500 images. Right now I am finishing processing a show that will hang in the Deutsches Amerikanish Zentrum in Stuttgart.
As I am sure you are aware by now, having seen enough of my inane questions that over the last two years or since Lightroom version 1.xx if I could not figure out how to do something I skipped it. So many things in Lightroom are buried and unless you have a mind like a steel trap (and think that some of you guys in the forum do) locating how to do something is not obvious.
For example, I only learned (in the last hour) that I could assign colors as a group of selections by using Shift + number. I found this in a side head in Martin Evenings Lightroom book. I still do not know how to find a way to display the color filter "selection" set in Library mode. Is there a way?
To top it off, Stuttgart Media University asked me if I would add a Lightroom module to my schedule this year. Now I have a compelling reason to learn all those missing pieces that I have created workarounds for. Hence the number of posts you have been seeing from me over the past few of weeks.
I tell my class that there are no such things as stupid questions, only questions. Now I am practicing what I have been preaching for the last gazillion years. Guys like you have been great.
My workflow is
1. I first separate all images by event. I do that at the time of import.
2. I do a fast pass rejecting all the obviously bad images
3. I do a second pass grouping the images by sub-group (speeches, people talking, performances, etc.) This is where I run out of selection methods and your key-wording could work but it would probably take too much time to establish a keyword set for a single event. Where I have more than five subgroups I set up different collection sets with one collection for each sub group. However I would like to keep a single event in one collection.
4. I then select the images to be used by color code.
5. Next I process the final images (crop develop etc) by collection.
6. Last I output the set according to client requirement.
If you have a better workflow, I am all ears.
By the way, what is your photo specialty and where are you located?
Jim -
Different caption for each photo in web gallery
When you take your selected Photos from Library to WEB is it possible to have a different caption for each photo. If I select 1 photo from the import and change its caption using the caption popup in the "Image Info" pane all the image captions change even the unselected ones.
How can I change individual photos so that they will have individual captions in the web gallery?You should change the caption metadata field in the Library module. Go to the Library module, select the image you want to change the caption on, in the right panel, scroll down to the metadata section. Make sure that the popup to the left of metadata is set to "default" and you should see the standard metadata. Simply type your caption here. Then, if you've done this for all your photos, go back to your web section and make sure you set the caption popup in the image info section back to "caption", which will use the info in the caption metadata field for each photo automatically.
-
Searching for Flash Photo Gallery with numbered navigation menu.
I'm looking for a photo gallery with a numbered navigation
menu. I've seen this gallery on several flash web pages. Is this
type of photo gallery a template that comes with flash? Has anyone
come across a tutorial for a photo gallery similar to the link
below.
http://www.rockcreeksm.com/index.php/work/portfolio/i made this one:
http://www.goldbergphotography.com/
but there are quite a few simpler photogalleries. use google
to search for some tutorials or templates. -
Help changing code for photos.
hi, i am a complete novice and have managed to use this code
to load videos into a div on a page, make them invisable, and play
each individual video on a player when clicked on via a picture
link in the same page. It works fine, but now i need to change the
code to do the same thing for showing pictures
here's the code for the vids
obviously i have to change the links to photos, and the image
source, but i need to change something else in the java script to
get it to work. and i don't know the function for images etc.
Please could somebody point me in the right direction.
ThanksHi Tom J.
If you are intent on mouseover effects for the button, you
are probably in for a fun ride coding some special solution.
Personally, if I want an image for these, I take the
following approach:
Insert an image.
Insert the RelatedTopics control and choose "Hidden, for
scripts"
Note the actual name of the control. Often it is simply
RelatedTopics. But depending on how it was inserted, may be
object1. Just hover the control in your WYSIWYG editor and the name
should pop up in a tooltip.
Select the image and make it a hyperlink. But in the
hyperlink properties, type
JavaScript:RelatedTopics.Click();. (and if the name differs
from RelatedTopics, use what you saw instead.
This method will make it so your user clicks the image and
the control activates.
Cheers... Rick -
Code for Responsive Web gallery
Hi, I'm looking for some sample code for Responsive web galleries. Not Flash ones. Web ones.
Ones that will respond to tablets, pads, and various web pages, including iPhone/iPad even (no flash)
Straight forward web pages are fine. Maybe HTML5, and Responsive.
Thanks for any help.Have you checked out http://shop.theturninggate.net/collections/core-elements-3/products/2014-html-gallery to see how they do it? It is a free gallery for Lightroom 4/5 and you should be able to take a look at the code and see how it was done. That should get you going in the right direction.
-
IWeb - looking for replacements for 'blog' & 'photos'
With a deep Sigh..., I am finally facing up to the fact that I must move my iWeb Websites to another hosting sight and deal with the loss of the intergrated blog & photo pages that come with iWeb. I kept hoping for a miracle but now I must get on with it. I would be grateful for advice from those who have dealt with this issue already.
My biggest concern is finding suitable replacements for the blog and photo galleries that can be embedded into iWeb having a matching 'look and feel'.
I have developed many robust (well of 50) websites with iWeb and they are active websites. The websites have:
Custom layouts (i.e. not using the suppled defalut template)
Blog pages (used as 'News' entries)
Photo pages
iMovie
HTML Snipits
Many have been designed for use with charity events and recieve quite a bit of traffic (see stats below) before and during the event.
As for the hosting - we will use GoDaddy or other Domain Provide with Hosting services. We have already moved some of the more less complicated websites over.
I love iWeb (I know it has it's faults and I have probably pushed it to it's limits but it has handled it well). I have tried looking at other products like Rapidweaver & Freeway Pro (Dreamweaver would be out of the question for me as I'm not a programmer - I can deal with some basic html code for snippets and such - but that's my limit). My partner has begun looking at Wordpress. However, the biggest drawback from what I've seen from these other products is that I can't duplicate the freedom and ease of designing a template/layout the way I want it. I have tried to duplicate a website I have done in iWeb and I simply can't do it with these other products (at least without a great deal of work - if at all).
So, I wish to continue using iWeb for the main website desgin but desparately need to find good replacements for the blog and photo galleries to move over my existing websites.
Please HELP!
This is my 1st time up on the forums so I do apologise if this has been dealt with before. In my searches - I just haven't really found an answer which is why I'm submitting this question.
Many thanks, MichelleSC
P.S. I have been an Apple user since Apple began and have always raved about their products. This is the 1st time I have been frustration with Apple. I really wish they would continue to develop iWeb and keep Mobileme.Do you have visitors post comments to your blog or it is one the only includes your entries? If it's the atter then you can continue to use the iWeb blog. If you currently have visitors comment on the entires you will have to move to a new blogging system, one of those suggested by Ethmoid and Jeff.
As for photo albums I've just run across a new site called ZangZig which offers albums similar to MobileMe galleries with most of it's features plus one that MMe didn't have. The capability of selling your photos.
One convenient feature of it is that it can move/copy photos from your existing MMe galleries as well as your iPhoto library and other sources:
As for for iWeb can do after MMe is gone read the following:
On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
Features No Longer Available Once MobileMe is Discontinued:
◼ Password protection
◼ Blog and photo comments
◼ Blog search
◼ Hit counter
◼ MobileMe Gallery
Currently if the site is published directly from iWeb to the 3rd party server the RSS feed and slideshow subscription features will work. However, if the site is first published to a folder on the hard drive and then uploaded to the sever with a 3rd party FTP client those two features will be broken.
All of these features can be replaced with 3rd party options.
There's another problem and that's with iWeb's popup slideshows. Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
Click to view full size
However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone. How to is described in this tutorial: iW14 - Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued. There's a link in the tutorial to download the file that one needs to be edited and replaced in existing slideshows and in the iWeb application for future slideshows. Once replaced in the application it's back to life as usual for iWeb.
OT -
Need code for padding (spacing) 5 navigation links in my #topnavbar internal style
need code for padding (spacing) 5 navigation links in my #topnavbar internal style
I'm new at this and the below code is regarding the navigation bar and links
I started using a template to create the first html page and made copies of it to create the other four.
All the links work but I wanted to space them apart further.
They look basically like this horizontally: Home About Us Photo Gallery Services Contact Us
#topnavbar {
text-align:center;
#topnavbar a:link a:visited{
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 100%;
font-weight: bold;
color: #039;
text-decoration: none;
margin: 0 25px:
#topnavbar a:hover a:active {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 100%;
font-weight: bold;
color: #039;
text-decoration: none;
<div id="topnavbar">
<nav>
<p><a href="index.html">Home</a>
<a href="aboutus.html">About Us</a>
<a href="photogallery.html">Photo Gallery</a>
<a href="services.html">Services</a>
<a href="contactus.html">Contact Us</a></p>
</nav>
</div> -
Feature Request for Gallery Demo
Hi, Kin
Elsewhere, a while back, you mentioned it would be possible
to have a caption in the Gallery demo by adding something to the
photos.xml file? I'm a lightweight when it comes to writing
javascript but I can typically read functions well-enough to
understand how to hack what I want.
Is there an example somewhere that shows the gallery demo
with a caption? Is there a resource I could look at? Suggestions?
Thanks
DCHi Donna,
Take a look at this
post.
I just verified that it actually works for starting the Slide
Show, but it also has the side effect of auto-starting the slide
show when you change the gallery you are looking at with the select
widget. But that might be desirable right?
I'm guessing you're going to want to have a caption for each
image right? If so, you'll have to edit the photos.xml file and add
a caption entry for each photo. For example in the
galleries/china/photos.xml file you'll see lots of photo tags of
the form:
<photo path="china_01.jpg" width="263" height="350"
thumbpath="china_01.jpg" thumbwidth="56" thumbheight="75">
</photo>
If you're guaranteed to have a short one line captions, you
can add it as an attribute to the photo tag:
<photo path="china_01.jpg" width="263" height="350"
thumbpath="china_01.jpg" thumbwidth="56" thumbheight="75"
caption="Me, myself & I at the great wall!">
</photo>
Or you can add the caption as a tag underneath the photo
node:
<photo path="china_01.jpg" width="263" height="350"
thumbpath="china_01.jpg" thumbwidth="56" thumbheight="75">
<caption>Me, myself & I at the great
wall!</caption> </photo>
To add the caption to the HTML page, you simply need to add a
spry:detailregion some place near the main image:
<div id="mainImageOutline" style="width: 0px; height:
0px;"> <img id="mainImage" alt="main image" /></div>
<div id="mainImageCaption" spry:detailregion="
dsPhotos">{caption}</div>
The reason you have to use a detail region is because the
code will set the current row of the dsPhotos data set to the row
that contains the URL for the main image. Because detail regions
listen for row changes, the caption will auto-magically update
itself when the main image changes.
In the example above I used a {caption} data reference. If
you went the route of using a caption attribute, you would have to
use {@caption} instead.
Hope this helps! :-)
--== Kin ==--
Maybe you are looking for
-
How do I apply same adjustments to multiple photos at the same time?
How do I apply same adjustments to multiple photos at the same time?
-
How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8? The music I want to move was in iTunes but is now just files. I had to reinstall a new iTunes and lost all my old music. Thank you!
-
I bought an external hard drive for backups to use with Time Machine, but however when I try to connect it with the other windows laptop it doesn't work ? intact it doesn't work on any other device except my MAC ?
-
How do i complain about having no use of iphone whilst transferring data & waiting for updates and used a big chunk of my mobile intenet allowance as had it plugged into laptop all day!-therefore to find out if eligable for compensation?.
-
CREATING VIRTUAL COLUMN IN OWB11g
How can i create virtual columns in ORACLE 11g using Warehouse Builder. OWB11g does not seem to have this option available. The only other option seems to be to alter the table using sql.