Færdiggjort

PrettyPhoto (Jquery lightbox script) modification

Please READ and UNDERSTAND the problem before offering your services.

I can NOT give you test accounts on my website, I can NOT give you FTP passwords etc. Looking for someone who knows this script:

PrettyPhoto lightbox gallery:

[url removed, login to view]

If you know this script, you will maybe need only 10 minutes to solve my problem if it's solvable. Probably it's not solvable in this way at all.

That's why I offer only 19 EUR.

if you don't know the script, you can see the demo on project's website and download the script:

[url removed, login to view]

MY PROBLEM

I need to dinamically load new thumbnails and to add them to the gallery so that newly loaded thumbnails become a part of the gallery.

I have multiple photo galleries on the same page. Some galleries have 1000+ photos and that's why I don't want to load thausands of thumbnails/links and I show only first 3 thumbnails of each gallery. When user starts to view some gallery (opens any of the first 3 photos), the script in the background must download all other thumbnails of this gallery.

FIRST 3 PHOTOS:

<a class="loadimgs loadimgs<?php echo $post_id.;?> href="[url removed, login to view]" data-bid="6780-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

<a class="loadimgs loadimgs<?php echo $post_id.;?> href="[url removed, login to view]" data-bid="6781-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

<a class="loadimgs loadimgs<?php echo $post_id.;?> href="[url removed, login to view]" data-bid="6782-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

<div class="masmagenes<?php echo $post_id.;?>"></div>

SCRIPT

jQuery(function($){$(document).ready(function(){

$('.loadimgs').click(function(ev){

var dbid = $(this).attr("data-bid");

var myarr = [url removed, login to view]("-");

var ftip = myarr[0];

var fnum = myarr[1];

var falb = myarr[2];

var fpoid = myarr[3];

$.post("/[url removed, login to view]",{alb:falb,typ:ftip},function(d){

if(d){

$('#masmagenes'+fpoid).html(d);

}

});

$("a[data-rel^='PrettyPhoto[g1a]']").PrettyPhoto({

allow_resize:1,

deeplinking:false

});

});

$("a[data-rel^='PrettyPhoto[g1a]']").PrettyPhoto({

allow_resize:1,

deeplinking:false

});

})});

so, if user clicks on any of the first 3 thumbnails, the script calls [url removed, login to view] file that loads all the rest thumbnails of this gallery:

<a href="[url removed, login to view]" data-bid="6780-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

<a href="[url removed, login to view]" data-bid="6781-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

<a href="[url removed, login to view]" data-bid="6782-1-2-3" data-rel="PrettyPhoto[g1a][1]"><img src="[url removed, login to view]" />

....

So far, everything is OK.

Problem.

I need some way to rebuild the array of thumbnails/links without closing the opened photo. When new photos are loaded, PrettyPhoto script must rebuild the array of images, so that after photo_3 user the script opens newly loaded photo_4, photo5 etc...

PrettyPhoto does not see the newly loaded images and thinks that [url removed, login to view] is the last image in the array. When I close the a photo and click on it again, PrettyPhoto shows the whole gallery, including the new loaded images.

How do I force PrettyPhoto to recalculate/reload the array of the photos after [url removed, login to view] has loaded more photos without closing/reopening a photo?

As you can see, I refresh PrettyPhoto after loading additional images:

$("a[data-rel^='PrettyPhoto[g1a]']").PrettyPhoto({...

but it doesn't help.

Evner: Javascript, jQuery / Prototype

Se mere: loading wordpress posts ajax jquery, script lightbox popup, jquery prettyphoto slideshow, script lightbox pop cookie, wordpress slideshow jquery prettyphoto, jquery prettyphoto slider, slideshow jquery prettyphoto, script lightbox previous button, loading wait image jsp java script, java script lightbox form, software write mq4, software write chip epson, useful software write book, jquery check status iframe loading, software write web specs, photo gallery admin script lightbox, php email form script lightbox, script lightbox, free software write user guide, software write edid

Om arbejdsgiveren:
( 7 bedømmelser ) Tabaiba, Spain

Projekt ID: #11632443

Tildelt til:

farrukha82

It seems like you need some ideas what may work or not. I was working with pretty photo in 2015, but not any more. you may try to refresh pretty photo that may help. or we can discuss further.

€17 EUR på 1 dag
(0 bedømmelser)
0.0

6 freelancere byder i gennemsnit €25 på dette job

glennwilkins

sir pm me thanks ... sir pm me thanks ... sir pm me thanks ... sir pm me thanks ... sir pm me thanks ... sir pm me thanks ... sir pm me thanks ...

€30 EUR på 1 dag
(22 bedømmelser)
4.0
€30 EUR på 1 dag
(21 bedømmelser)
4.0
mrmdreamtech

I don't have knowledge in this. but i have reviewed the code and i understand it. i can complete your request. Please ping me we discuss more and proceed on this.

€25 EUR på 1 dag
(3 bedømmelser)
2.0
drinkingatnight

Dear Hiring Manager! I am a freelance developer from Pakistan. My goal is to provide the best services to clients within no time. I have an experience of website design and development of more than 2 years in the foll Flere

€30 EUR på 1 dag
(1 bedømmelse)
1.3
Shripx

Hi there, Thanks for posting your project we are interested in your work & have vast experience in blog creation & customization. We will fix out the problems & that all will be done in few hour & you can che Flere

€19 EUR på 1 dag
(0 bedømmelser)
0.0