- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
The way I have it set up is that I create a gallery and then I insert it in a page .. when I click on the little thumb, everything work’s fine, prettyphoto opens it but it’s not acting like a “gallery” because the rel isnt applied like it’s supposed to be (prettyPhoto[galleryX]).
Usually I asign it manually but how can I make it so that every img in a gallery have the same rel?
Thanks guys!
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
$(".gallery-item a").attr('rel','gallery[modal]');
- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
duotive said
add a rel with jquery before the call for pretty photo.$(".gallery-item a").attr('rel','gallery[modal]');
I love you. 
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
DDStudios said
duotive saidI love you.
add a rel with jquery before the call for pretty photo.$(".gallery-item a").attr('rel','gallery[modal]');![]()

- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
Any idea why the thumb only load to the half?

- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
yes. because the images that open in the gallery are wide screen. the gallery uses the same images you have under the modal, i want a fix for this too. the only solution is to add images that are not wide for the galleries.
- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
duotive said
yes. because the images that open in the gallery are wide screen. the gallery uses the same images you have under the modal, i want a fix for this too. the only solution is to add images that are not wide for the galleries.
Oh, make sense 
Thanks mate.
