Hi Stephane,
just tried pP 3 beta and I am having some problems with that new nice features:
first pP included mini gallery does not seem to like certain pictures does not seem to be connected to amount or order of them took some out changed order but always the same pics do not show up.
second slideshow stops after sliding once no matter where i start it, this happens btw with your first gallery example on your demopage too, tested with both FF 3.6 and IE8 on XP.
have a look regarding missing mini thumbs
http://sing.dudelidu.de/222/
Hi,
pP seems to like .jpg but won't find a .JPG
now thats a bug ;-)
Another no-bug question if you allow some tweety told there would be JW Player included in 30. Could you please think about supporting other Players that are fully GPL - like flowplayer or better because really free the maxi player from http://flv-player.net/players/maxi/ - too? I got both working with pP 2.56 in IE and FF for now 3.0 and maxi and IE wont work, flow does.
I tested it in my demo page and prettyPhoto is able to open a file with .JPG (uppercase filenames)
As for JW Player support, I chose that one mainly because it one of the most widely used. I know it's not totally open, you need to pay licensing in order to use it on a comercial website, but I doubt that's big part of the people using prettyPhoto.
Hi Stephane,
sorry but i have to say not and this is tested again both with FF3.6 an IE8 on your demo page and retested at sing.dudelidu.de, the last image in your first picture gallery is the only .JPG there - i know that one i have seen it somewhere else ;-) - and it will have me pP saying: "Image can not be loaded..." but opens just fine in a new tab if i choose to with right click maybe this is browser trouble.
I think before your last changes it was the same for that mini thumbs not showing up but the pictures still showed up normally, then you seem to have introduced: pp_images[i] = pp_images[i].toLowerCase();
-*EDIT*- with FF and IE the one before the last one in your first gallery on your example page linking to DSC05016.jpg won't work also- so i guess its not only the capitalized extension but maybe capitalized letters in the filename!?
-*EDIT 2"*- you can look here what works an what not with FF and IE screenshots of errors at bottom of page. http://sing.dudelidu.de/pp-3-0-and-filenames/
Regarding the the player, i would not bet on pP being used only for private projects, personally i use it much for my friends sites which are on the border line to being commercial lets say a band or being independent movie makers and the like, i cant decide totally art or business (with total lack of money) so i will be reluctant to use JW player getting no one into trouble.
Have no twitter account by now, just saw this tweet by accident on your homepage.
First photo appears and I click play. Then I get (in firebug):
itemSrc is undefined
Line 603
function _getFileType(itemSrc){
603 if (itemSrc.match(/youtube\.com\/watch/i)) {
itemSrc is undefined, setPosition seems to be 16 and I have 7 images.
I've implemented the beta 3.0 version on my website. I noticed there is one problem with the right navigation buttons. The right navigation button for the thumbnails appears to overlap the navigation for the photos.
You can take a look at this page to get a clearer picture. http://jihying.com/photography/post/Around-UK.aspx
Alternatively, here's the screenshot. http://jihying.com/photography/images/prettyPhoto-problem.jpg
Slide show adds the stop class only if if(typeof pp_slideshow == 'undefined').
But this means that if you stop and start the slideshow, it will never again be undefined and so it keeps running and goes into hyperdrive motion. The stop button never again appears.
There is weird behavior concerning how the "Expand the image" function in the upper right corner works. If you open an oversized image that is part of a gallery, prettyPhoto will correctly display it with reduced dimensions to fit the browser window. Clicking on the expand tool, it will also properly show it with original dimensions. Now click next and previous one after the other to return to the image originally opened. prettyPhoto will show the image again with reduced dimensions. However, clicking the expand tool once will not have any persistent effect (apart from fade out and fade in), you have to click the tool twice to get original dimensions. This observation also applies to prettyPhoto version 2.5.6, and occurs with Firefox 3.6, Chrome 4.1 and IE8 (and most certainly with other browsers).
Hi,
Great plugin - I think this is potentially my favourite... and I've tried many!
I'm having one problem though.
I'm using 3.0b with jcarousel 0.2.4. It loads a clicked thumbnail image fine and once in prettyphoto everything is good. However, if the carousel is set to circular (goes back to 1st thumbnail image after last image in the list) and move either with next or previous so that I've completed 1 cycle, I then get the following script error when clicking on a thumbnail:
'undefined is null or not an object'
I'm using IE 7 in the office. The problem does not happen in Firefox. I'll test on all other browsers tonight. The error occured on line 604, but looking at the source code, there are only 194 lines, so I cant really target the problem.
When hovering over the big image to reveal the thumbnails and next/previous navigation, the pp_details div jumps up so that the close button, decription and slideshow / navigation buttons meet the photo. This happens in every version of IE, but not in any other browser.
Its seems the 10px top margin applied to pp_details is lost in IE on hover?
As a quick fix I removed the 10px margin from pp_details and placed it on pp_description. This at least avoid the jumping.
There are problems with upper case letters in href="...". PP 3.0b converts hrefs to lower case (checked with latest version) and then it is not able to fetch the images and raises alert. I don't understand why the conversion to lower case is done, is there any reason? The problem shows up with web servers which distinguish upper case and lower case letters in file names (mostly unix/linux) and are not able to find and serve requested lowercased file name of the image.The fix is easy, just remove the conversion.
line 132 should be: setItem = $(this).attr('href');
line 671 should be commented out or removed.
PP works fine with these changes. Thank you for your PP and other pretty* scripts. Great work :-)
A standards-compliance feature missing from prettyPhoto is the recognition of attribute value like "prettyphoto-gallery" in the rel attribute of anchor tags to establish gallery bindings. Currently, prettyPhoto supports the style "prettyphoto[gallery]", which contains invalid characters that prevent the page containing the prettyPhoto gallery from validating against latest XHTML standards. This issue is very easy to fix, the regular expression /^[^-]+-[^-]+$|\[[^\[\]]+\]$/ would recognize galleries of both kinds.
I immediately ran into the same issue while I was testing prettyPhoto 3.0b. I think the best solution is to remove all .toLowerCase() instances from the script. (I don't see the point of doing any character case conversions in the first place as they are only likely to introduce bugs.)
For instance in my case the pp_images is set on line 656:
pp_images = (isSet) ? jQuery.map(matchedObjects, function(n, i){ if($(n).attr('rel').indexOf(theRel) != -1) return $(n).attr('href'); }) : $.makeArray($(caller).attr('href'));
So the pp_images contains an array with straight image href strings. But.. It is being compared to a lowercased strings on lines 132 -> 134:
setItem = (_getFileType($(this).attr('href')) != 'youtube') ? $(this).attr('href').toLowerCase() : $(this).attr('href');
setPosition = jQuery.inArray(setItem, pp_images); // Define where in the array the clicked item is positionned
----
I also would like the themes to have CSS styles defining the text color by default. At the moment if you have text color defined widely in your css for html or body it will also change the color on prettyPhoto.
In my page I have a youtube object. The problem is that the pretty photo popup is displayed underneath the object instead of on top of it. Is this a html issue or could it have something to do with the pretty photo z-index?
Apologies for cross-posting, I accidently posted the following in the main forum.
Hi,
I have an API call opening a single image. The works fine if its the 1st link I click on when the page is loaded. However, If I click on my other links (new window using Javascript), then try clicking on the API link, I get errors.
This is the error from IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 8 Jun 2010 10:15:59 UTC
Message: 'settings.default_width' is null or not an object
Line: 183
Char: 4
Code: 0
This is the error from Firefox 3.6.3:
Error: pp_images is not defined
Source File:
/includes/prettyphotoBeta/js/jquery.prettyPhoto.js
Line: 165
Just a few things I would like to suggest/point out regarding the new prettyPhoto 3.0b…These findings were observed on Firefox version 3.6.4
1) After expanding an image and clicking either the previous/next image, the image goes back to “normal” (collapsed) view. Now, when you click the expand icon, it won’t expand the image. You actually have to click the expand icon twice for it to expand the image. I think expand/collapse toggle state is out of sync initially.
2) When you are browsing the inline gallery and clicking on thumbnails, I noticed that after you click on a thumbnail image, it resets the gallery to the first page. I would think that it would preserve your state and not reset back to the first page of the gallery. So therefore, I commented out the following bit of code in the JS file and also commented out the line where it says –> currentGalleryPage = 0; Not sure if this is the best solution.
$pp_pic_holder.find(‘.pp_gallery ul li’).each(function(i){
$(this).css({
‘position’:'absolute’,
‘left’: i * itemWidth
});
});
Thanks for writing a very creative tool. I’m using it currently to re-develop my website.
* hgosalia * CommentTime3 days ago
After expanding an image and clicking either the previous/next image, the image goes back to “normal” (collapsed) view. Now, when you click the expand icon, it won’t expand the image. You actually have to click the expand icon twice for it to expand the image. I think expand/collapse toggle state is out of sync initially.
I have the same Problem.
Can you add "showDescription" parameter please? I need to hide it.
Uncertain this qualifies as a bug, but since I'm using 3.0, figured why not ask.
Launch either "Reel" or "Voice Overs" at the below URL. The issue I'm facing is that once PrettyPhoto launches it seems to lock my opaque image overlay. You can test this by resizing your browser window, as you'll be exposing vertical strips of the background page.
http://cynthiaholloway.com/
Anyone have any ideas how to fix this, or is it a bug? I had it working where window resizes in PrettyPhoto 2.5.6 weren't causing this issue, but accidentally overwrote the original file so not sure what I did there.
Anyways, thank you for reading.
P.S. Anyone know how to create one of those fancy new 3.0 image galleries, but accessed via only one single image? I tried some code I'd found for 2.5.6, but this did not work in 3.0. My only guesses would be because of a change in how galleries are handled, the fact that I'm using the "mediaplayer" CSS skin, or more likely than not... I'm simply doing it wrong :)
hi
is there a way to make the image gallery work outside the RegExp("(.*?)\.(jpg|jpeg|png|gif)$"); ?
many galleries will not be that tidy and possibly will use something like "image.jpg?getSmallImage" or something like that.
nice product though :)
peter
Is it possible to allow for inline gallery thumbnails to appear for videos? Either by making the user choose a thumbnail or finding a way to capture an image from the source video. This would be a great feature and allow for different types of content in a single show.
I have an issue when using prettyPhoto3.0b and prettyLoader 1.0.1 together.
when prettyLoader is activated, prettyPhoto pp_pic_holder stops floating up and down when I scroll page (pp_pic_holder’s top css property does not change)
there are no javascript errors… prettyPhoto container just stays on one place.
here is a demo of this bug:
http://bit.ly/bn13zr
browsers(all):
Firefox 3.6.8
Opera 10.60
IE 6+
Safari, chrome..so the problem is in some js function...
I want to add that prettyPhoto's div.pp_pic_holder appears near to the last prettyLoader's position. You can easily test it, there are a lot of ajax actions on demo site(such as filters, pagination, add to basket action)
Hi
first, a big bravo and thanx for your great work !
very easy to use, customize and… fix ! - doesn't need much ! ;) -
i just could'nt find an answer to :
[quote]
artlabsf May 5th 2010
Slide show adds the stop class only if if(typeof pp_slideshow == 'undefined').
But this means that if you stop and start the slideshow, it will never again be undefined and so it keeps running and goes into hyperdrive motion. The stop button never again appears.
[/quote]
To clarify, say a given group of photos contains both movies and picture files. The snapshot previews below the slide will only show the picture files and will be blank for movies. Once a movie file is selected the thumbnails disappear and do not return until the slideshow is re-opened (I have worked around this).
Is is possible for the thumbnails to remain visible during mov/avi/mp4 files? It is possible to capture a frame from the movie as use it as the thumbnail image?