nsForum logo

Welcome Guest ( Log In )

5 Pages V  « < 3 4 5  
Reply to this topicStart new topic
> How To: Upgrade Your Product Image Gallery, Using the prettyPhoto lightbox script
Rating 4 V
leon
post Aug 19 2009, 06:56 PM
Post #101





Group: Verified NS Member
Posts: 2
Joined: 26-March 09
Member No.: 4,069



very useful, thanks so much

Anyone know how to put frame on little images?

Thanks
Go to the top of the page
 
+Quote Post
PowderDay
post Sep 30 2009, 12:30 PM
Post #102





Group: Verified NS Member
Posts: 186
Joined: 14-August 08
Member No.: 1,942



Nice! been thinking about doing this for a while but have been way too busy and to fully implement is going to be very time intensive (need to create larger images than what we already have). but needs to be done.

I loaded the library, set up a cloned layout I am experimenting with, and all is going well.

I did notice the following in the pasted code

CODE
  <!--[if IE 6]>
      <script type="text/javascript" src="/prettyPhoto/js/DD_belatedPNG_0.0.7a-min.js"></script>
      <script type="text/javascript">
        DD_belatedPNG.fix('.pp_left,.pp_right,a.pp_close,a.pp_arrow_next,a.pp_arrow_previous,.pp_conten
t,.pp_middle');    
      </script>
    <![endif]-->


I left it as is and on one of my old computers (ie6 1024x768 screen) the page loaded, but with errors on page - but still worked.

works great in current firefox and ie 7 & 8. Should I do anything about the ie6? Thoughts?

Go to the top of the page
 
+Quote Post
msamuelsen
post Oct 1 2009, 02:35 PM
Post #103





Group: Verified NS Member
Posts: 1
Joined: 2-July 09
Member No.: 4,702



Hello Andy, I tried the below and when i click on the image or thumbnail, the large image pops up instantly with no overlay or image animating into place. Any suggestions, I added all the folders into the root and also into my custom root folder, thanks, Mike
Go to the top of the page
 
+Quote Post
BarryGreenstein
post Nov 2 2009, 11:12 PM
Post #104





Group: Verified NS Member
Posts: 3
Joined: 2-November 09
Member No.: 6,070



what did you do wrong? I am having the same problem

QUOTE (mdsource @ Mar 20 2009, 02:34 PM) *
I have been using this script for a few days now and it seems to work fine in Firefox, IE7 and Chrome. However...The lightbox that holds the images doesn't show any image or text to let people know how to click to get to the next image, previous image or close the image box.

As far as I can tell there are areas in the box that contain these controls but either they are transparent or there is no image associated with the controls.

I would like to have some user friendly controls in the prettyphoto lightbox to enable the user to enlarge the image, click to the previous or next images, and then close the image.

Any help would be appreciated, or if you could lead me in the best direction.

Thanks

3/29 update: I figured out what I did wrong and everything works perfectly now!

Go to the top of the page
 
+Quote Post
mdsource
post Nov 3 2009, 07:49 AM
Post #105





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



You have to check all of your code to make sure it matches what is supposed to be there. In my case I had the link with the arrows, enlargement and close images directed to the wrong folder in my root folder. When I extracted the PrettyPhoto scripts they didn't go directly into my root folder but another folder within the prettyphoto folder. I just made sure the link pointed correctly and it worked fine.

You should look at the original script provided by Andy of NS and compare it to the script on your site. It should be the same. There are different variations that give different results, rounded corners, square corners etc. You can also check some of the sites posted here for the PrettyPhoto Image Gallery and see how they did it by looking at the code on their sites.
Go to the top of the page
 
+Quote Post
BarryGreenstein
post Nov 3 2009, 09:08 AM
Post #106





Group: Verified NS Member
Posts: 3
Joined: 2-November 09
Member No.: 6,070



thanks...I figured it out. looks awesome now


QUOTE (mdsource @ Nov 3 2009, 07:49 AM) *
You have to check all of your code to make sure it matches what is supposed to be there. In my case I had the link with the arrows, enlargement and close images directed to the wrong folder in my root folder. When I extracted the PrettyPhoto scripts they didn't go directly into my root folder but another folder within the prettyphoto folder. I just made sure the link pointed correctly and it worked fine.

You should look at the original script provided by Andy of NS and compare it to the script on your site. It should be the same. There are different variations that give different results, rounded corners, square corners etc. You can also check some of the sites posted here for the PrettyPhoto Image Gallery and see how they did it by looking at the code on their sites.

Go to the top of the page
 
+Quote Post
sbwrench
post Nov 5 2009, 12:39 PM
Post #107





Group: Verified NS Member
Posts: 1
Joined: 29-June 09
Member No.: 4,683



Great add-on.

I'm having an issue where there are several variations and only one image per variation (but more than one default gallery image for the product). After selecting a product using the dropdowns the Lightbox hangs when you click on the image.
Honda/2009/CBR1000RR/GP/Black is a good example.

If you just click on the default image of the product when it comes up (before selecting dropdowns), it works fine.

A 2nd issue is that the default product image comes up when you click on the variation image. If you select Yamaha/R1/2009/Undertail/Carbon, then click on the image (which is correct) the default image for the product pops up.

Thanks,

James
Go to the top of the page
 
+Quote Post
daniel09
post Nov 12 2009, 02:47 AM
Post #108





Group: Verified NS Member
Posts: 89
Joined: 5-December 08
From: Los Angeles
Member No.: 3,248



Hello,

Is it possible to have the background not shaded grey?

When I click the zoom, I wish to have the background not shaded opacity darker... and just have it normal.

Is is possible to tweek it so there will be no greyed out background after clicking zoom?
Go to the top of the page
 
+Quote Post
mdsource
post Nov 12 2009, 08:06 AM
Post #109





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



QUOTE
Hello,

Is it possible to have the background not shaded grey?

When I click the zoom, I wish to have the background not shaded opacity darker... and just have it normal.

Is is possible to tweek it so there will be no greyed out background after clicking zoom?


CODE
hs.graphicsDir = '/highslide/graphics/';

    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.fadeInOut = true;
    //hs.dimmingOpacity = 0.75;


Check the setting for your opacity within the script on your pages. Experiment with the values to get the amount of shading you want. (you are using highslide from what I can see) In prettyphoto we are able to use parameters from 0 - 1
Go to the top of the page
 
+Quote Post
daniel09
post Nov 12 2009, 01:44 PM
Post #110





Group: Verified NS Member
Posts: 89
Joined: 5-December 08
From: Los Angeles
Member No.: 3,248



QUOTE (mdsource @ Nov 12 2009, 08:06 AM) *
CODE
hs.graphicsDir = '/highslide/graphics/';

    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.fadeInOut = true;
    //hs.dimmingOpacity = 0.75;


Check the setting for your opacity within the script on your pages. Experiment with the values to get the amount of shading you want. (you are using highslide from what I can see) In prettyphoto we are able to use parameters from 0 - 1


Thanks, I'm actually not using Highslide anymore... I'm using the 'prettyphoto' script.

Does anyone know how to get the background Not shaded?


Also,

Is it possible to have a shrinked thumbnail of the main item picture as well below the main picture?



Thanks
Go to the top of the page
 
+Quote Post
daniel09
post Nov 17 2009, 04:06 AM
Post #111





Group: Verified NS Member
Posts: 89
Joined: 5-December 08
From: Los Angeles
Member No.: 3,248



Is it possible to have a shrinked thumbnail of the main item picture as well below the main picture?

I would appreciate any sort of response.

Thank you.
Go to the top of the page
 
+Quote Post
daniel09
post Nov 17 2009, 02:40 PM
Post #112





Group: Verified NS Member
Posts: 89
Joined: 5-December 08
From: Los Angeles
Member No.: 3,248



I would also like to add the "click to view larger" text above the thumbnails... between the main picture and the thumbnails.

Is this possible?
Go to the top of the page
 
+Quote Post
mdsource
post Nov 17 2009, 06:36 PM
Post #113





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



QUOTE
Does anyone know how to get the background Not shaded?


To customize prettyPhoto, you can pass the following parameters

<script type="text/javascript" charset="utf-8">

$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'normal', /* fast/slow/normal */
padding: 40, /* padding for each side of the picture */
opacity: 0.35, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
allowresize: true, /* true/false */
counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
modal: false, /* If set to true, only the close button will close the window */
changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
callback: function(){} /* Called when prettyPhoto is closed */
});
});
</script>


To learn more about PrettyPhoto go here: PrettyPhoto Image help
Go to the top of the page
 
+Quote Post
daniel09
post Nov 17 2009, 06:56 PM
Post #114





Group: Verified NS Member
Posts: 89
Joined: 5-December 08
From: Los Angeles
Member No.: 3,248



QUOTE (mdsource @ Nov 17 2009, 07:36 PM) *
To customize prettyPhoto, you can pass the following parameters

<script type="text/javascript" charset="utf-8">

$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'normal', /* fast/slow/normal */
padding: 40, /* padding for each side of the picture */
opacity: 0.35, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
allowresize: true, /* true/false */
counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
modal: false, /* If set to true, only the close button will close the window */
changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
callback: function(){} /* Called when prettyPhoto is closed */
});
});
</script>


To learn more about PrettyPhoto go here: PrettyPhoto Image help



Thank you MDsource!

I appreciate your help very much.

Would it be possible to add text or an image below the main item picture. Between the Thumbnails and the Main Item picture?

It seems to be one big script, so I can not get anything in between.


I would really love to have a 1px border around the thumbnails as well. Would it be possible to do this?
Go to the top of the page
 
+Quote Post
mdsource
post Nov 17 2009, 08:04 PM
Post #115





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



QUOTE (daniel09 @ Nov 17 2009, 06:56 PM) *
Thank you MDsource!

I appreciate your help very much.

Would it be possible to add text or an image below the main item picture. Between the Thumbnails and the Main Item picture?

It seems to be one big script, so I can not get anything in between.


I would really love to have a 1px border around the thumbnails as well. Would it be possible to do this?


I have not experimented too much with this script. Most of the information I have found was from doing searches. I am sure you can modify the script in many more ways than shown here but I don't know how to do that myself.
Go to the top of the page
 
+Quote Post
Furlongs
post Nov 19 2009, 06:03 PM
Post #116





Group: Verified NS Member
Posts: 69
Joined: 8-October 08
Member No.: 2,718



This does look awsome...still unsure how it works and how to impliment it. Can this support video on the network solutions sites?
Go to the top of the page
 
+Quote Post
mdsource
post Nov 19 2009, 06:12 PM
Post #117





Group: Verified NS Member
Posts: 232
Joined: 1-October 07
Member No.: 102



QUOTE (Furlongs @ Nov 19 2009, 06:03 PM) *
This does look awsome...still unsure how it works and how to impliment it. Can this support video on the network solutions sites?


You can open Quicktime videos with it.

To do so, simply:

1. Create a link (<a href="#">).
2. Add the rel attribute "prettyPhoto" to it (rel="prettyPhoto").
3. Change the href of your link so it points to the .mov file.
4. Then add the width and height as parameters in your HREF (?width=100&height=100)


prettyPhoto is also a multimedia lightbox, to open flash content with it simply:

1. Create a link (<a href="#">).
2. Add the rel attribute "prettyPhoto" to it (rel="prettyPhoto").
3. Change the href of your link so it points to the SWF file.
4. Then add the width and height as parameters in your HREF (?width=100&height=100).
5. In the case your flash needs specifics variables, add &flashvars and add the required parameters


This script is licensed under Creative Commons Attribution 2.5. So you can use it in all you projects even commercial ones. Donations are always welcome. PrettyPhoto Page Link
Go to the top of the page
 
+Quote Post

5 Pages V  « < 3 4 5
Reply to this topicStart new topic
Tags

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2009 Time is now: 21st November 2009 - 08:47 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates