$.prettyPhoto.initialize = function() {
...
// Put the SRCs, TITLEs, ALTs into an array.
pp_thumbs = (isSet) ? jQuery.map(matchedObjects, function(n, i){ if($(n).attr('rel').indexOf(theRel) != -1) return $(n).find('img').attr('src');}) : $.makeArray($(this).find('img').attr('src'));
pp_images = ... // don't change
$.prettyPhoto.open = function(event) {
...
pp_thumbs = $.makeArray(arguments[0]);
pp_images = ...
function _build_overlay(caller){
...
// Correction by Vladimir - thanks
for (var i=0; i < pp_thumbs.length; i++) {
if(!pp_thumbs[i].match(/\b(jpg|jpeg|png|gif)\b/gi)){
...
}else{
classname = '';
//img_src = pp_images[i];
img_src = pp_thumbs[i]
...
$pp_pic_holder.fadeIn(function(){
...
switch(_getFileType(pp_images[set_position])){
case 'image':
...
// Preload the neighbour images
//nextImage = new Image();
//if(isSet && set_position ...
//prevImage = new Image();
//if(isSet && pp_images...
pp_settings = jQuery.extend({
markup: ...
<div class="pp_hoverContainer" id="pp_imgsrc"> \
<a class="pp_next" ...
<a class="pp_previous" ...
$pp_pic_holder.fadeIn(function(){
...
$pp_pic_holder.find('#pp_full_res')[0].innerHTML = ...
$pp_pic_holder.find('#pp_imgsrc')[0].innerHTML = settings.image_markup.replace(/{path}/g,pp_images[set_position]);
The "save image as" should work, but the pp_next and pp_previous will be erased.It looks like you're new here. If you want to get involved, click one of these buttons!